dont change state

This commit is contained in:
ThatOneCalculator 2023-04-04 21:53:17 -07:00
parent 89a010db1b
commit 3b5b90879c
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
1 changed files with 0 additions and 10 deletions

View File

@ -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 => {