Skip to content

Commit

Permalink
removed redundant css setter
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Jan 12, 2015
1 parent 94c9d28 commit 6c7e6ad
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions jquery.matchHeight.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') || '');
});
}

Expand Down

0 comments on commit 6c7e6ad

Please sign in to comment.