Skip to content

Instantly share code, notes, and snippets.

@seriiserii825
Created January 13, 2020 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seriiserii825/f162c2c24d5484019da201cf2e39d0d6 to your computer and use it in GitHub Desktop.
Save seriiserii825/f162c2c24d5484019da201cf2e39d0d6 to your computer and use it in GitHub Desktop.
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