fix
This commit is contained in:
@@ -8,7 +8,6 @@
|
|||||||
if (!css || typeof document === 'undefined') { return; }
|
if (!css || typeof document === 'undefined') { return; }
|
||||||
var head = document.head || document.getElementsByTagName('head')[0];
|
var head = document.head || document.getElementsByTagName('head')[0];
|
||||||
var style = document.createElement('style');
|
var style = document.createElement('style');
|
||||||
style.type = 'text/css';
|
|
||||||
if (insertAt === 'top') {
|
if (insertAt === 'top') {
|
||||||
if (head.firstChild) {
|
if (head.firstChild) {
|
||||||
head.insertBefore(style, head.firstChild);
|
head.insertBefore(style, head.firstChild);
|
||||||
|
|||||||
Reference in New Issue
Block a user