diff --git a/lib/less/browser.js b/lib/less/browser.js index a91a8cb..544ec5a 100644 --- a/lib/less/browser.js +++ b/lib/less/browser.js @@ -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); }