diff --git a/packages/frontend/src/components/MkMediaList.vue b/packages/frontend/src/components/MkMediaList.vue index 51f2328e39..2300802dcf 100644 --- a/packages/frontend/src/components/MkMediaList.vue +++ b/packages/frontend/src/components/MkMediaList.vue @@ -93,7 +93,6 @@ async function calcAspectRatio() { onMounted(() => { calcAspectRatio(); - if (defaultStore.state.imageNewTab) return; lightbox = new PhotoSwipeLightbox({ dataSource: props.mediaList