We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 021e439 commit 8282a9fCopy full SHA for 8282a9f
1 file changed
src/baguetteBox.js
@@ -68,7 +68,7 @@
68
// If set to true ignore touch events because animation was already fired
69
var touchFlag = false;
70
// Regex pattern to match image files
71
- var regex = /.+\.(gif|jpe?g|png|webp)/i;
+ var regex = /.+\.(gif|jpe?g|png|webp|avif)/i;
72
// Object of all used galleries
73
var data = {};
74
// Array containing temporary images DOM elements
0 commit comments