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

Changed media conditional as was evaluating as false in IE9
This commit is contained in:
Naomi Guyer 2012-06-21 16:50:14 +12:00
parent 6af3b076be
commit 1197a2fa14

View File

@ -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;