diff options
author | liabru <liabru@brm.io> | 2015-01-12 23:09:53 +0000 |
---|---|---|
committer | liabru <liabru@brm.io> | 2015-01-12 23:09:53 +0000 |
commit | 6c7e6ad68ce7e81d9c1b6256195583adb97c2d29 (patch) | |
tree | 384f15a5c5be14dd69fbee0ccaab082a5da10281 | |
parent | 94c9d2879118fd4c33f633cd58d2349413a2fc35 (diff) | |
download | jquery-match-height-6c7e6ad68ce7e81d9c1b6256195583adb97c2d29.zip jquery-match-height-6c7e6ad68ce7e81d9c1b6256195583adb97c2d29.tar.gz jquery-match-height-6c7e6ad68ce7e81d9c1b6256195583adb97c2d29.tar.bz2 |
removed redundant css setter
-rw-r--r-- | jquery.matchHeight.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/jquery.matchHeight.js b/jquery.matchHeight.js index ece7626..8311ab5 100644 --- a/jquery.matchHeight.js +++ b/jquery.matchHeight.js @@ -184,9 +184,7 @@ // revert original inline styles
$elements.each(function() {
var $that = $(this);
-
- $that.attr('style', $that.data('style-cache') || '')
- .css('height', '');
+ $that.attr('style', $that.data('style-cache') || '');
});
}
|