Merge pull request #1013 from LegNeato/master
Always add style element to the head
This commit is contained in:
commit
27d2d99bd8
@ -2092,7 +2092,7 @@ var Font = (function FontClosure() {
|
||||
window.btoa(data) + ');');
|
||||
var rule = "@font-face { font-family:'" + fontName + "';src:" + url + '}';
|
||||
|
||||
document.documentElement.firstChild.appendChild(
|
||||
document.documentElement.getElementsByTagName('head')[0].appendChild(
|
||||
document.createElement('style'));
|
||||
|
||||
var styleSheet = document.styleSheets[document.styleSheets.length - 1];
|
||||
|
Loading…
x
Reference in New Issue
Block a user