diff --git a/packages/client/src/components/MkMediaList.vue b/packages/client/src/components/MkMediaList.vue index 9a1d1f1704..6dd0dea274 100644 --- a/packages/client/src/components/MkMediaList.vue +++ b/packages/client/src/components/MkMediaList.vue @@ -126,16 +126,6 @@ onMounted(() => { return; } }); - - lightbox.on('beforeOpen', () => { - history.pushState(null, '', '#pswp'); - }); - - lightbox.on('close', () => { - if (window.location.hash === '#pswp') { - history.back(); - } - }); }); const previewable = (file: misskey.entities.DriveFile): boolean => {