Last active
August 19, 2020 11:01
-
-
Save jsakhil/07d9974cdc3d025adec2820f9d3613d0 to your computer and use it in GitHub Desktop.
Fix for slick slider when added multiple slider in tab content
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
$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { | |
$('.slider').slick('setPosition'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment