summaryrefslogtreecommitdiffstats
path: root/jquery.matchHeight.js
diff options
context:
space:
mode:
authorCorbacho <davidcorbacho@gmail.com>2014-04-02 14:43:18 +0300
committerCorbacho <davidcorbacho@gmail.com>2014-04-02 14:43:18 +0300
commit4c3f945a9d30794ffcad2a0911dda5cbbd38b8ba (patch)
treef7bd4f35fc4a3255e93571310082bda9e7f038e0 /jquery.matchHeight.js
parent44c4554b5706f37e5f85dd78c7adebfb566ff3f5 (diff)
downloadjquery-match-height-4c3f945a9d30794ffcad2a0911dda5cbbd38b8ba.zip
jquery-match-height-4c3f945a9d30794ffcad2a0911dda5cbbd38b8ba.tar.gz
jquery-match-height-4c3f945a9d30794ffcad2a0911dda5cbbd38b8ba.tar.bz2
Making the library compatible with old jQuery versions < 1.7
Diffstat (limited to 'jquery.matchHeight.js')
-rw-r--r--jquery.matchHeight.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/jquery.matchHeight.js b/jquery.matchHeight.js
index f1c16d9..ccbbde4 100644
--- a/jquery.matchHeight.js
+++ b/jquery.matchHeight.js
@@ -135,7 +135,8 @@
$($.fn.matchHeight._applyDataApi);
// update heights on load and resize events
- $(window).on('load resize orientationchange', $.fn.matchHeight._update);
+
+ $(window).bind('load resize orientationchange', $.fn.matchHeight._update);
/*
* rows utility function
@@ -175,4 +176,4 @@
return rows;
};
-})(jQuery); \ No newline at end of file
+})(jQuery);