Commit 3548ffae authored by David Murdoch's avatar David Murdoch Committed by Anton M

Remove unnecessary "script.type = text/javascript;". Fixes #8198.

Follow up to 462bb1f6.
parent f0999076
...@@ -80,7 +80,6 @@ ...@@ -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) {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment