diff --git a/src/components/appMediaViewer.ts b/src/components/appMediaViewer.ts index f2b65137..f499bdd9 100644 --- a/src/components/appMediaViewer.ts +++ b/src/components/appMediaViewer.ts @@ -1012,8 +1012,7 @@ class AppMediaViewerBase = Promise.resolve(); const size = appPhotosManager.setAttachmentSize(media, container, maxWidth, maxHeight, mediaSizes.isMobile ? false : true).photoSize; if(useContainerAsTarget) {