Two quick fixes in relation to #1028. ajaxSetup shouldn't be deep and the boolean arg should be used, not overwritten with 'true'.

This commit is contained in:
John Resig 2007-08-21 04:46:07 +00:00
parent e112e6b04d
commit 8c15e852a4
2 changed files with 2 additions and 2 deletions

View file

@ -434,7 +434,7 @@ jQuery.extend({
* @cat Ajax
*/
ajaxSetup: function( settings ) {
jQuery.extend( true, jQuery.ajaxSettings, settings );
jQuery.extend( jQuery.ajaxSettings, settings );
},
ajaxSettings: {