summaryrefslogtreecommitdiffstats
path: root/jquery.matchHeight.js
diff options
context:
space:
mode:
Diffstat (limited to 'jquery.matchHeight.js')
-rw-r--r--jquery.matchHeight.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/jquery.matchHeight.js b/jquery.matchHeight.js
index b5473cd..0f55b6c 100644
--- a/jquery.matchHeight.js
+++ b/jquery.matchHeight.js
@@ -199,8 +199,10 @@
maxHeight = 0;
// skip apply to rows with only one item
- if (opts.byRow && $row.length <= 1)
+ if (opts.byRow && $row.length <= 1) {
+ $row.css(opts.property, '');
return;
+ }
// iterate the row and find the max height
$row.each(function(){