Skip to content

Commit

Permalink
BUGFIX: Media styles in IE9 (fixes #4 of #7497)
Browse files Browse the repository at this point in the history
Changed media conditional as was evaluating as false in IE9
  • Loading branch information
adrexia committed Jun 21, 2012
1 parent 6af3b07 commit 1197a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/jquery-ondemand/jquery.ondemand.js
Expand Up @@ -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;
Expand Down

0 comments on commit 1197a2f

Please sign in to comment.