Support GIFs in pages.meet user profile image
This commit is contained in:
parent
6bf5ee7fcd
commit
2d501f7575
|
@ -266,7 +266,7 @@ app.fullscreen = {
|
||||||
|
|
||||||
app.media = {
|
app.media = {
|
||||||
view: function(url) {
|
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 },
|
app.overlay.create('overlay.view_image', { url },
|
||||||
{ dark: true, removable: true });
|
{ dark: true, removable: true });
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue