Add .JPG and .jpeg extensions to Magnific Popup lightbox call. Fixes #33
This commit is contained in:
@@ -44,7 +44,7 @@ $(function() {
|
||||
});
|
||||
|
||||
// Add lightbox class to all image links
|
||||
$("a[href$='.jpg'],a[href$='.png'],a[href$='.gif']").addClass("image-popup");
|
||||
$("a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif']").addClass("image-popup");
|
||||
|
||||
// Magnific-Popup options
|
||||
$(document).ready(function() {
|
||||
|
||||
2
assets/js/scripts.min.js
vendored
2
assets/js/scripts.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user