Skip to content

Commit

Permalink
Making the library compatible with old jQuery versions < 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
dcorb committed Apr 2, 2014
1 parent 44c4554 commit 4c3f945
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jquery.matchHeight.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -175,4 +176,4 @@
return rows;
};

})(jQuery);
})(jQuery);

0 comments on commit 4c3f945

Please sign in to comment.