We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e053ad1 commit 5360951Copy full SHA for 5360951
assets/js/_main.js
@@ -84,7 +84,7 @@ $(document).ready(function() {
84
// add lightbox class to all image links
85
$(
86
"a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif'],a[href$='.webp']"
87
- ).addClass("image-popup");
+ ).has("> img").addClass("image-popup");;
88
89
// Magnific-Popup options
90
$(".image-popup").magnificPopup({
0 commit comments