]> source.dussan.org Git - jquery.git/commitdiff
Set async to true instead of async (prop vs. attr). Closes gh-1039
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 22 Nov 2012 02:47:59 +0000 (21:47 -0500)
committerRick Waldron <waldron.rick@gmail.com>
Thu, 22 Nov 2012 02:47:59 +0000 (21:47 -0500)
src/ajax/script.js

index 48b329ae3fa59d68432950c864ffe803b15d5be7..ada74ff678db554ba6c7558e6ecf9550e84e9460 100644 (file)
@@ -40,7 +40,7 @@ jQuery.ajaxTransport( "script", function(s) {
 
                                script = document.createElement( "script" );
 
-                               script.async = "async";
+                               script.async = true;
 
                                if ( s.scriptCharset ) {
                                        script.charset = s.scriptCharset;