Remove unnecessary "script.type = text/javascript;". Fixes #8198.
Follow up to 462bb1f66a
.
This commit is contained in:
parent
f099907672
commit
3548ffaee2
|
@ -80,7 +80,6 @@
|
||||||
script = document.createElement("script"),
|
script = document.createElement("script"),
|
||||||
id = "script" + jQuery.now();
|
id = "script" + jQuery.now();
|
||||||
|
|
||||||
script.type = "text/javascript";
|
|
||||||
try {
|
try {
|
||||||
script.appendChild( document.createTextNode( "window." + id + "=1;" ) );
|
script.appendChild( document.createTextNode( "window." + id + "=1;" ) );
|
||||||
} catch(e) {}
|
} catch(e) {}
|
||||||
|
|
Loading…
Reference in a new issue