Skip to content

Commit

Permalink
Merge branch 'stefanozoffoli-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Aug 10, 2014
2 parents b3df801 + ab3963f commit c0104c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions jquery.matchHeight-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions jquery.matchHeight.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
// generate groups by their groupId set by elements using data-match-height
$('[data-match-height], [data-mh]').each(function() {
var $this = $(this),
groupId = $this.attr('data-match-height');
groupId = $this.attr('data-match-height') || $this.attr('data-mh');
if (groupId in groups) {
groups[groupId] = groups[groupId].add($this);
} else {
Expand Down Expand Up @@ -237,4 +237,4 @@
return parseFloat(value) || 0;
};

})(jQuery);
})(jQuery);

0 comments on commit c0104c4

Please sign in to comment.