diff options
author | Pavel Belousov <pafnuty10@gmail.com> | 2013-09-05 07:23:52 -0700 |
---|---|---|
committer | Pavel Belousov <pafnuty10@gmail.com> | 2013-09-05 07:23:52 -0700 |
commit | b76326c3988822e0c4e63341e0cf4118fa0267ec (patch) | |
tree | ef860f672ec4e1ea26d27648d06b882fc796b31f | |
parent | a0d5faded9e81b0151377b18ada0598f0d2592d1 (diff) | |
download | jQuery.equalHeights-b76326c3988822e0c4e63341e0cf4118fa0267ec.zip jQuery.equalHeights-b76326c3988822e0c4e63341e0cf4118fa0267ec.tar.gz jQuery.equalHeights-b76326c3988822e0c4e63341e0cf4118fa0267ec.tar.bz2 |
simple auto-initialize plugin
-rw-r--r-- | jquery.equalheights.js | 4 |
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(); }); |