mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Keep nav hidden on TV
Prevents focus of menu entries
This commit is contained in:
parent
6d52868166
commit
9cc0491e3a
@ -771,7 +771,9 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
|
|||||||
return new Promise(function (resolve, reject) {
|
return new Promise(function (resolve, reject) {
|
||||||
require(["navdrawer"], function (navdrawer) {
|
require(["navdrawer"], function (navdrawer) {
|
||||||
navDrawerInstance = new navdrawer(getNavDrawerOptions());
|
navDrawerInstance = new navdrawer(getNavDrawerOptions());
|
||||||
navDrawerElement.classList.remove("hide");
|
if (!layoutManager.tv) {
|
||||||
|
navDrawerElement.classList.remove("hide");
|
||||||
|
}
|
||||||
resolve(navDrawerInstance);
|
resolve(navDrawerInstance);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user