summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKorri <korrigan33@gmail.com>2013-08-09 12:10:40 -0400
committerKorri <korrigan33@gmail.com>2013-08-09 12:10:40 -0400
commit1d83b08855261529298a88a98ad0caf334097b99 (patch)
treeeeafc8ad692218dfdefa0a39e5f57a2b066cf30d
parentc81f11d9a4330b0f69708e82756d4c9a55c5d85a (diff)
downloadjQuery.equalHeights-1d83b08855261529298a88a98ad0caf334097b99.zip
jQuery.equalHeights-1d83b08855261529298a88a98ad0caf334097b99.tar.gz
jQuery.equalHeights-1d83b08855261529298a88a98ad0caf334097b99.tar.bz2
Updated minified version
-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)