summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Belousov <pafnuty10@gmail.com>2013-09-05 07:23:52 -0700
committerPavel Belousov <pafnuty10@gmail.com>2013-09-05 07:23:52 -0700
commitb76326c3988822e0c4e63341e0cf4118fa0267ec (patch)
treeef860f672ec4e1ea26d27648d06b882fc796b31f
parenta0d5faded9e81b0151377b18ada0598f0d2592d1 (diff)
downloadjQuery.equalHeights-b76326c3988822e0c4e63341e0cf4118fa0267ec.zip
jQuery.equalHeights-b76326c3988822e0c4e63341e0cf4118fa0267ec.tar.gz
jQuery.equalHeights-b76326c3988822e0c4e63341e0cf4118fa0267ec.tar.bz2
simple auto-initialize plugin
-rw-r--r--jquery.equalheights.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jquery.equalheights.js b/jquery.equalheights.js
index 9916a25..566a524 100644
--- a/jquery.equalheights.js
+++ b/jquery.equalheights.js
@@ -24,9 +24,9 @@
};
// auto-initialize plugin
- $('[data-heights="equal"]').each(function(){
+ $('[data-equal]').each(function(){
var $this = $(this),
- target = $this.data('targets');
+ target = $this.data('equal');
$this.find(target).equalHeights();
});