mirror of
https://github.com/jquery/jquery.git
synced 2026-01-26 04:49:04 -05:00
jQuery.ajax modified the passed-in object only to help test the code - this shouldn't occur. Fixes #5439.
This commit is contained in:
@@ -194,7 +194,7 @@ jQuery.extend({
|
||||
ajax: function( s ) {
|
||||
// Extend the settings, but re-extend 's' so that it can be
|
||||
// checked again later (in the test suite, specifically)
|
||||
s = jQuery.extend(true, s, jQuery.extend(true, {}, jQuery.ajaxSettings, s));
|
||||
s = jQuery.extend(true, {}, jQuery.ajaxSettings, s);
|
||||
|
||||
var jsonp, status, data,
|
||||
callbackContext = s.context || window,
|
||||
|
||||
Reference in New Issue
Block a user