mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Changed media conditional as was evaluating as false in IE9
This commit is contained in:
parent
6af3b076be
commit
1197a2fa14
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user