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);