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

apply suggustion

This commit is contained in:
grafixeyehero 2020-03-03 01:42:22 +03:00
parent 4fca1c1563
commit 08afa4c0ca

View file

@ -562,7 +562,7 @@ define(['loading', 'globalize', 'events', 'viewManager', 'layoutManager', 'skinM
if (!document.querySelector('.dialogContainer') && startPages.indexOf(curr.type) !== -1) {
return false;
}
if (enableHistory) {
if (enableHistory()) {
return history.length > 1;
}
return (page.len || 0) > 0;