use already existing head var

This commit is contained in:
Oliver Wong
2013-08-09 22:02:16 -05:00
committed by Luke Page
parent ee1d54a173
commit 0bf2354f12

View File

@@ -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) {