diff options
author | liabru <liabru@brm.io> | 2015-01-12 23:11:20 +0000 |
---|---|---|
committer | liabru <liabru@brm.io> | 2015-01-12 23:11:20 +0000 |
commit | b4326d3b53ad5ae4c1e36209c402b05b481c8b13 (patch) | |
tree | bfe7379b7a6346fd29a3876532e93106c1e4998c | |
parent | 6c7e6ad68ce7e81d9c1b6256195583adb97c2d29 (diff) | |
download | jquery-match-height-b4326d3b53ad5ae4c1e36209c402b05b481c8b13.zip jquery-match-height-b4326d3b53ad5ae4c1e36209c402b05b481c8b13.tar.gz jquery-match-height-b4326d3b53ad5ae4c1e36209c402b05b481c8b13.tar.bz2 |
early out on options parser
-rw-r--r-- | jquery.matchHeight.js | 6 |
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;
}
|