Created
January 13, 2020 09:57
-
-
Save seriiserii825/f162c2c24d5484019da201cf2e39d0d6 to your computer and use it in GitHub Desktop.
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
let testimonialEgualHeight = function () { | |
let itemHeight = 0; | |
$('#ts-testimonial-static .testimonial-item-single').each(function () { | |
if ($(this).height() > itemHeight) { | |
itemHeight = $(this).height(); | |
} | |
}); | |
$('#ts-testimonial-static .testimonial-item-single').each(function () { | |
$(this).height(itemHeight); | |
}); | |
}; | |
testimonialEgualHeight(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment