mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Hide collapse if not supported
This commit is contained in:
parent
fef18d9648
commit
2a80c9c593
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ define(["browser", "datetime", "backdrop", "libraryBrowser", "listView", "imageL
|
||||||
context.querySelector(".sendTextSection").classList.add("hide");
|
context.querySelector(".sendTextSection").classList.add("hide");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!currentPlayer.isLocalPlayer) {
|
if (-1 != supportedCommands.indexOf("MoveUp" || "MoveDown" || "MoveRight" || "MoveRight" || "MoveLeft" || "Select" || "Back" || "ToggleContextMenu" || "GoToSearch" || "GoToSettings" || "GoHome") && !currentPlayer.isLocalPlayer) {
|
||||||
context.querySelector(".navigationSection").classList.remove("hide");
|
context.querySelector(".navigationSection").classList.remove("hide");
|
||||||
} else {
|
} else {
|
||||||
context.querySelector(".navigationSection").classList.add("hide");
|
context.querySelector(".navigationSection").classList.add("hide");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue