diff options
author | Matt Banks <mjbanks@gmail.com> | 2013-09-17 13:17:12 -0400 |
---|---|---|
committer | Matt Banks <mjbanks@gmail.com> | 2013-09-17 13:17:12 -0400 |
commit | cbac493e7df7f9de39dc5b48a883d5f66275576f (patch) | |
tree | 460b0265ccb76ee9450a5035d341ebb603b6c362 /jquery.equalheights.min.js | |
parent | 289302fa6d2afe6338baf6c5db2f1eedcd023127 (diff) | |
download | jQuery.equalHeights-cbac493e7df7f9de39dc5b48a883d5f66275576f.zip jQuery.equalHeights-cbac493e7df7f9de39dc5b48a883d5f66275576f.tar.gz jQuery.equalHeights-cbac493e7df7f9de39dc5b48a883d5f66275576f.tar.bz2 |
fix bug with $.height() in jQuery 1.8+ with double padding, fixes #6v1.5.1
Diffstat (limited to 'jquery.equalheights.min.js')
-rw-r--r-- | jquery.equalheights.min.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jquery.equalheights.min.js b/jquery.equalheights.min.js index 96d848b..6bba224 100644 --- a/jquery.equalheights.min.js +++ b/jquery.equalheights.min.js @@ -6,6 +6,6 @@ * Uses the same license as jQuery, see: * http://docs.jquery.com/License * - * @version 1.5.0 + * @version 1.5.1 */ -!function(a){a.fn.equalHeights=function(){var b=0,c=a(this);return c.each(function(){var c=a(this).innerHeight();c>b&&(b=c)}),c.height(b)},a("[data-equal]").each(function(){var b=a(this),c=b.data("equal");b.find(c).equalHeights()})}(jQuery);
\ No newline at end of file +!function(a){a.fn.equalHeights=function(){var b=0,c=a(this);return c.each(function(){var c=a(this).innerHeight();c>b&&(b=c)}),c.css("height",b)},a("[data-equal]").each(function(){var b=a(this),c=b.data("equal");b.find(c).equalHeights()})}(jQuery);
\ No newline at end of file |