Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/caressofsteel/hugo-story.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/main.js b/assets/js/main.js
index b027023..ab80d5b 100644
--- a/assets/js/main.js
+++ b/assets/js/main.js
@@ -236,7 +236,7 @@
href = $a.attr('href');
// Not an image? Bail.
- if (!href.match(/\.(jpg|gif|png|mp4)$/))
+ if (!href.match(/\.(jpg|gif|png|mp4|webp|avif)$/))
return;
// Prevent default.