From 8c15e852a4614ba5a5100e1c6e8a833c39b4ca79 Mon Sep 17 00:00:00 2001 From: John Resig Date: Tue, 21 Aug 2007 04:46:07 +0000 Subject: Two quick fixes in relation to #1028. ajaxSetup shouldn't be deep and the boolean arg should be used, not overwritten with 'true'. --- src/jquery/jquery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jquery/jquery.js') diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index a79b2e6b2..1d2e19797 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1260,7 +1260,7 @@ jQuery.extend = jQuery.fn.extend = function() { // Handle a deep copy situation if ( target.constructor == Boolean ) { - deep = true; + deep = target; target = arguments[1] || {}; } -- cgit v1.2.3