Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
delete getDefaultComputedStyle from window
Browse files Browse the repository at this point in the history
Looks like this was overlooked in 864ca98, polyfill does not take affect in firefox without it.
  • Loading branch information
jakemac53 committed Aug 28, 2014
1 parent 79837e5 commit 36272eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wrappers/Window.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

// Work around for https://bugzilla.mozilla.org/show_bug.cgi?id=943065
delete window.getComputedStyle;
delete window.getDefaultComputedStyle;
delete window.getSelection;

['addEventListener', 'removeEventListener', 'dispatchEvent'].forEach(
Expand Down

0 comments on commit 36272eb

Please sign in to comment.