mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02: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){
|
requireCss : function(styleUrl, media){
|
||||||
if(media === null) media = 'all';
|
if(!media) media = 'all';
|
||||||
|
|
||||||
// Don't double up on loading scripts
|
// Don't double up on loading scripts
|
||||||
if($.isItemLoaded(styleUrl)) return;
|
if($.isItemLoaded(styleUrl)) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user