Created
December 21, 2017 12:57
-
-
Save infrony/adbfa7258038c456c589b3f7b2b37448 to your computer and use it in GitHub Desktop.
The same height for both
This file contains 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
$(function(){ | |
var h_left = $(".left").height(); | |
var h_right = $(".right").height(); | |
var height = ( h_left > h_right) ? $(".right").height(h_left) : $(".left").height(h_right); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment