summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/www/script/jquery.couch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/jquery.couch.js b/share/www/script/jquery.couch.js
index ff248399..f9647ecd 100644
--- a/share/www/script/jquery.couch.js
+++ b/share/www/script/jquery.couch.js
@@ -562,7 +562,7 @@
},
replicate: function(source, target, ajaxOptions, repOpts) {
- $.extend(repOpts, {source: source, target: target});
+ repOpts = $.extend({source: source, target: target}, repOpts);
if (repOpts.continuous) {
ajaxOptions.successStatus = 202;
}