diff --git a/app/javascript/vue/shared/content/attachments/open_locally_menu.vue b/app/javascript/vue/shared/content/attachments/open_locally_menu.vue index 9d40e11cf..0db3edd45 100644 --- a/app/javascript/vue/shared/content/attachments/open_locally_menu.vue +++ b/app/javascript/vue/shared/content/attachments/open_locally_menu.vue @@ -135,7 +135,7 @@ export default { if (!imageElement) return; - window.ActiveStoragePreviews.reCheckPreview({ target: imageElement }); + $('#filePreviewModal').modal('hide'); } } };