Created
October 28, 2016 09:14
-
-
Save kucheriavij/bd2b0905d4b4fa0993b5b60a69d1b6d7 to your computer and use it in GitHub Desktop.
js find max height
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var heights = $('#other-stock-page').find('.event-item').map(function () { | |
| return $(this).height(); | |
| }).get(), | |
| maxHeight = Math.max.apply(null, heights); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment