Permalink
Browse files

BUGFIX: Media styles in IE9 (fixes #4 of #7497)

Changed media conditional as was evaluating as false in IE9
  • Loading branch information...
1 parent 6af3b07 commit 1197a2fa143831953cb2b6ba620903ad5791fb93 @adrexia adrexia committed Jun 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascript/jquery-ondemand/jquery.ondemand.js
@@ -44,7 +44,7 @@
},
requireCss : function(styleUrl, media){
- if(media === null) media = 'all';
+ if(!media) media = 'all';
// Don't double up on loading scripts
if($.isItemLoaded(styleUrl)) return;

0 comments on commit 1197a2f

Please sign in to comment.