From 2d501f75756a0e3a9a733d3930da959e322580b5 Mon Sep 17 00:00:00 2001 From: Niko Date: Fri, 25 Feb 2022 15:27:33 +0100 Subject: [PATCH] Support GIFs in pages.meet user profile image --- web/src/app/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/app/js/app.js b/web/src/app/js/app.js index d0b099c..bf001c7 100644 --- a/web/src/app/js/app.js +++ b/web/src/app/js/app.js @@ -266,7 +266,7 @@ app.fullscreen = { app.media = { view: function(url) { - if (url.match(/^.*\.(jpg|jpeg|png|ico|webp)$/)) + if (url.match(/^.*\.(jpg|jpeg|png|ico|gif|webp)$/)) app.overlay.create('overlay.view_image', { url }, { dark: true, removable: true }); },