fix media type not being preserved when generated css
This commit is contained in:
parent
30fa07f39d
commit
b1acb34260
@ -132,7 +132,7 @@ function createCSS(styles, sheet, lastModified) {
|
||||
if ((css = document.getElementById(id)) === null) {
|
||||
css = document.createElement('style');
|
||||
css.type = 'text/css';
|
||||
css.media = 'screen';
|
||||
css.media = sheet.media;
|
||||
css.id = id;
|
||||
document.getElementsByTagName('head')[0].appendChild(css);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user