summaryrefslogtreecommitdiffstats
path: root/jquery.matchHeight.js
diff options
context:
space:
mode:
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);