1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix dialog history

This commit is contained in:
Dmitry Lyzo 2021-08-25 00:11:12 +03:00
parent b8b0f8ea39
commit 626993a740
3 changed files with 13 additions and 2 deletions

View file

@ -142,7 +142,7 @@ import '../../assets/css/scrollstyles.scss';
animateDialogOpen(dlg);
if (isHistoryEnabled(dlg)) {
appRouter.pushState({ dialogId: hash }, 'Dialog', `#${hash}`);
appRouter.show('/dialog', { dialogId: hash });
window.addEventListener('popstate', onHashChange);
} else {