Created
August 21, 2018 09:53
-
-
Save carmoreira/ff8967a92f417ac088c50c2832c42176 to your computer and use it in GitHub Desktop.
jQuery fix to allow Team Showcase Lightbox to work on Salient theme
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
jQuery(document).ready(function(){ | |
jQuery( '[data-featherlight]' ).each( function(){ | |
jQuery(this).attr('data-featherlight', jQuery(this).attr('href')) | |
.removeAttr("href"); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment