mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
dont change state
This commit is contained in:
parent
2f4e3cdce0
commit
c030a227e5
1 changed files with 0 additions and 10 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Reference in a new issue