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

Add exit on "Go back"

This commit is contained in:
Dmitry Lyzo 2020-01-21 12:51:33 +03:00
parent 02f6928fcd
commit 60e64f8a58
5 changed files with 58 additions and 12 deletions

View file

@ -551,7 +551,7 @@ define(['loading', 'globalize', 'events', 'viewManager', 'layoutManager', 'skinM
return false;
}
if (curr.type === 'home') {
if (!document.querySelector('.dialogContainer') && curr.type === 'home') {
return false;
}
return page.canGoBack();