Last active
April 26, 2021 12:17
-
-
Save monkviper/3c58438f3592a4fd9b31 to your computer and use it in GitHub Desktop.
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
function updateheight(){ | |
_.parents('.slick-list').height(_.parents('.chapters_slide.slick-active').height()); | |
} | |
$(".featured-slider-nav").each(function(index) { | |
$(this).click(function() { | |
_ = $(this); | |
setTimeout(updateheight, 500); | |
}); | |
}); |
Thanks Surinder it worked like magic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great fix.