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.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.js')
-rw-r--r-- | jquery.equalheights.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jquery.equalheights.js b/jquery.equalheights.js index 6d2502e..d05c700 100644 --- a/jquery.equalheights.js +++ b/jquery.equalheights.js @@ -6,7 +6,7 @@ * Uses the same license as jQuery, see: * http://docs.jquery.com/License * - * @version 1.5.0 + * @version 1.5.1 */ (function($) { @@ -20,7 +20,7 @@ if ( height > maxHeight ) { maxHeight = height; } }); - return $this.height(maxHeight); + return $this.css('height', maxHeight); }; // auto-initialize plugin |