]> source.dussan.org Git - jquery.git/commitdiff
Remove unnecessary "script.type = text/javascript;". Fixes #8198.
authorDavid Murdoch <musicisair@yahoo.com>
Sat, 12 Feb 2011 02:09:45 +0000 (03:09 +0100)
committerAnton M <obhvsbypqghgc@gmail.com>
Sat, 12 Feb 2011 12:53:03 +0000 (13:53 +0100)
Follow up to 462bb1f66abf239492ee33c60feee3402fe64f77.

src/support.js

index 7f2591b5d03a5902c07f5bc033ee731e54f340fb..97b4a4263748cfa75896f1fb7bf22c20d18bbf7c 100644 (file)
@@ -80,7 +80,6 @@
                                script = document.createElement("script"),
                                id = "script" + jQuery.now();
 
-                       script.type = "text/javascript";
                        try {
                                script.appendChild( document.createTextNode( "window." + id + "=1;" ) );
                        } catch(e) {}