Skip to content

Commit 953faa1

Browse files
author
Lukas von Blarer
committed
Fixing error in Firefox 3.6
1 parent ea49b48 commit 953faa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matchMedia.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ window.matchMedia || (window.matchMedia = function() {
1818
script.parentNode.insertBefore(style, script);
1919

2020
// 'style.currentStyle' is used by IE <= 8 and 'window.getComputedStyle' for all other browsers
21-
info = ('getComputedStyle' in window) && window.getComputedStyle(style) || style.currentStyle;
21+
info = ('getComputedStyle' in window) && window.getComputedStyle(style, null) || style.currentStyle;
2222

2323
styleMedia = {
2424
matchMedium: function(media) {

0 commit comments

Comments
 (0)