aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2012-03-07 16:54:05 +0100
committerjaubourg <j@ubourg.net>2012-03-07 16:54:05 +0100
commitd3fad51cad1f71bd20beba81b51552295721a5a5 (patch)
treea27eb97bc43bca57ac6aaa1eb02804e9bf506bc4 /src/manipulation.js
parent484cea1b5651d215a24d3a6827663a4e16a6a253 (diff)
downloadjquery-d3fad51cad1f71bd20beba81b51552295721a5a5.tar.gz
jquery-d3fad51cad1f71bd20beba81b51552295721a5a5.zip
Fixes #11264 or rather seriously limits the risk of global ajaxSettings screwing with script loading in domManip. Gotta love globals and sneaky dependencies. Unit test added.
Diffstat (limited to 'src/manipulation.js')
-rw-r--r--src/manipulation.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index 0b42810da..2a3757904 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -351,6 +351,8 @@ jQuery.fn.extend({
jQuery.each( scripts, function( i, elem ) {
if ( elem.src ) {
jQuery.ajax({
+ type: "GET",
+ global: false,
url: elem.src,
async: false,
dataType: "script"