Two quick fixes in relation to #1028. ajaxSetup shouldn't be deep and the boolean...
[jquery.git] / src / jquery / jquery.js
index a79b2e6..1d2e197 100644 (file)
@@ -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] || {};
        }