Permalink
Browse files

Fixed problem with the disabled media-query in IE9

This commit duplicates line style.media = link.media; - the duplicated
line is necessary to work both in IE9 and other browsers
  • Loading branch information...
1 parent 930ca44 commit cadd010b67565f363a0d8273b74323f208860d29 @dziudek dziudek committed May 21, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 prefixfree.js
  2. +1 −1 prefixfree.min.js
View
@@ -63,6 +63,8 @@ var self = window.StyleFix = {
parent.insertBefore(style, link);
parent.removeChild(link);
+
+ style.media = link.media;
}
};
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit cadd010

Please sign in to comment.