Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jquery.matchHeight.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@

// find the max height (including padding, but not margin)
if ($that.outerHeight(false) > targetHeight) {
targetHeight = $that.outerHeight(false);
targetHeight = $that.getBoundingClientRect().height;
}

// revert styles
Expand All @@ -259,7 +259,7 @@
});
} else {
// if target set, use the height of the target element
targetHeight = opts.target.outerHeight(false);
targetHeight = opts.target[0].getBoundingClientRect().height;
}

// iterate the row and apply the height to all elements
Expand Down