mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Fix #13803: domManip remote-script evaluation per 1.9 (AJAX dataType "script")
This commit is contained in:
parent
55e319aa52
commit
18cccd04a6
@ -469,10 +469,10 @@ jQuery.extend({
|
|||||||
return jQuery.ajax({
|
return jQuery.ajax({
|
||||||
url: url,
|
url: url,
|
||||||
type: "GET",
|
type: "GET",
|
||||||
dataType: "text",
|
dataType: "script",
|
||||||
async: false,
|
async: false,
|
||||||
global: false,
|
global: false,
|
||||||
success: jQuery.globalEval
|
"throws": true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user