Created
March 13, 2017 10:16
-
-
Save kirandash/64f8c608f452c558d601941659daa5b9 to your computer and use it in GitHub Desktop.
Slick on Initialize set the images and text in it to visible.
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
| $('#fleet-gallery').on('init', function(event, slick){ | |
| //Solves the issue of repeating lightbox items on loop | |
| $('.slick-cloned').removeAttr("data-lightbox"); | |
| $('#fleet-gallery img').css('visibility','visible'); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment