summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jquery.matchHeight.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/jquery.matchHeight.js b/jquery.matchHeight.js
index 8311ab5..e32af85 100644
--- a/jquery.matchHeight.js
+++ b/jquery.matchHeight.js
@@ -73,14 +73,12 @@
};
if (typeof options === 'object') {
- opts = $.extend(opts, options);
+ return $.extend(opts, options);
}
if (typeof options === 'boolean') {
opts.byRow = options;
- }
-
- if (options === 'remove') {
+ } else if (options === 'remove') {
opts.remove = true;
}