Skip to content

Commit

Permalink
early out on options parser
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Jan 12, 2015
1 parent 6c7e6ad commit b4326d3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions jquery.matchHeight.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b4326d3

Please sign in to comment.