Created
January 19, 2016 11:41
-
-
Save benfoster/b9e7005db367facb974c to your computer and use it in GitHub Desktop.
Disable lightbox on Calico spotlight layout
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
<script> | |
$('.fab-portfolio-details .project-media li a') | |
.css('cursor', 'default') | |
.on('click', function() { | |
return false; | |
}); | |
var dtl = $('.fab-portfolio-details .project-media'); | |
if (dtl.length) { | |
$.magnificPopup.defaults.disableOn = function() { return false; } | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment