mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
use already existing head var
This commit is contained in:
@@ -413,7 +413,7 @@ function createCSS(styles, sheet, lastModified) {
|
||||
if (nextEl) {
|
||||
nextEl.parentNode.insertBefore(css, nextEl);
|
||||
} else {
|
||||
document.getElementsByTagName('head')[0].appendChild(css);
|
||||
head.appendChild(css);
|
||||
}
|
||||
}
|
||||
if (oldCss && keepOldCss === false) {
|
||||
|
||||
Reference in New Issue
Block a user