summaryrefslogtreecommitdiffstats
path: root/jquery.equalheights.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'jquery.equalheights.min.js')
-rw-r--r--jquery.equalheights.min.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jquery.equalheights.min.js b/jquery.equalheights.min.js
index 1178a42..7b40b88 100644
--- a/jquery.equalheights.min.js
+++ b/jquery.equalheights.min.js
@@ -8,4 +8,4 @@
*
* @version 1.4
*/
-(function($){$.fn.equalHeights=function(){var maxHeight=0,$this=$(this);$this.each(function(){var height=$(this).innerHeight();if(height>maxHeight){maxHeight=height}});return $this.height(maxHeight)};var target=$('[data-heights="equal"]').attr('data-targets'),init='[data-heights="equal"] '+target;$(init).equalHeights()})(jQuery);
+(function(e){e.fn.equalHeights=function(){var t=0,n=e(this);n.each(function(){var n=e(this).innerHeight();if(n>t){t=n}});return n.height(t)};e('[data-heights="equal"]').each(function(){var t=e(this),n=t.data("targets");t.find(n).equalHeights()})})(jQuery)