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