Skip to content

Commit

Permalink
Merge pull request #3 from dcorb/master
Browse files Browse the repository at this point in the history
changed use of `on` to `bind` to support old jQuery versions < 1.7
  • Loading branch information
liabru committed Apr 2, 2014
2 parents 44c4554 + 7d467aa commit 18a6fa1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions jquery.matchHeight-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 18a6fa1

Please sign in to comment.