We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea49b48 + 953faa1 commit 3c67d9bCopy full SHA for 3c67d9b
matchMedia.js
@@ -18,7 +18,7 @@ window.matchMedia || (window.matchMedia = function() {
18
script.parentNode.insertBefore(style, script);
19
20
// 'style.currentStyle' is used by IE <= 8 and 'window.getComputedStyle' for all other browsers
21
- info = ('getComputedStyle' in window) && window.getComputedStyle(style) || style.currentStyle;
+ info = ('getComputedStyle' in window) && window.getComputedStyle(style, null) || style.currentStyle;
22
23
styleMedia = {
24
matchMedium: function(media) {
0 commit comments