mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fixed media-type selection on demand in IE
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@65735 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b39d3811ff
commit
3850d57417
@ -120,7 +120,7 @@
|
|||||||
|
|
||||||
if(document.createStyleSheet){
|
if(document.createStyleSheet){
|
||||||
var ss = document.createStyleSheet($.requireConfig.routeCss + styleUrl);
|
var ss = document.createStyleSheet($.requireConfig.routeCss + styleUrl);
|
||||||
ss.style.media = media;
|
ss.media = media;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
var styleTag = document.createElement('link');
|
var styleTag = document.createElement('link');
|
||||||
|
Loading…
Reference in New Issue
Block a user