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

Apply suggestions

This commit is contained in:
MrTimscampi 2020-07-24 19:02:25 +02:00
parent e7b87c106f
commit 6030e9677e
2 changed files with 1 additions and 23 deletions

View file

@ -311,21 +311,6 @@ define(['loading', 'globalize', 'events', 'viewManager', 'skinManager', 'backdro
});
}
function enableHistory() {
// shows status bar on navigation
if (browser.xboxOne) {
return false;
}
// Does not support history
if (browser.orsay) {
return false;
}
return true;
}
function enableNativeHistory() {
return false;
}
@ -525,9 +510,7 @@ define(['loading', 'globalize', 'events', 'viewManager', 'skinManager', 'backdro
if (!document.querySelector('.dialogContainer') && startPages.indexOf(curr.type) !== -1) {
return false;
}
if (enableHistory()) {
return history.length > 1;
}
return (page.len || 0) > 0;
}