Add .webp to supported lightbox images (#2788)
This commit is contained in:
parent
e243901e9f
commit
784264d1e6
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ $(document).ready(function() {
|
|||
|
||||
// add lightbox class to all image links
|
||||
$(
|
||||
"a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif']"
|
||||
"a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif'],a[href$='.webp']"
|
||||
).addClass("image-popup");
|
||||
|
||||
// Magnific-Popup options
|
||||
|
|
Loading…
Reference in a new issue