From 784264d1e665d95f378ae36afe817a36ce500cfa Mon Sep 17 00:00:00 2001 From: PHOENiX Date: Sat, 6 Feb 2021 01:14:21 +0000 Subject: [PATCH] Add .webp to supported lightbox images (#2788) --- assets/js/_main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/_main.js b/assets/js/_main.js index 82e11944..0efc9702 100644 --- a/assets/js/_main.js +++ b/assets/js/_main.js @@ -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