Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

Changed media conditional as was evaluating as false in IE9
  • Loading branch information...
commit 1197a2fa143831953cb2b6ba620903ad5791fb93 1 parent 6af3b07
@adrexia adrexia authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  javascript/jquery-ondemand/jquery.ondemand.js
View
2  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;
Please sign in to comment.
Something went wrong with that request. Please try again.