mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix bug introduce in last commit
This commit is contained in:
parent
9439a306b6
commit
c19385c936
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ define(["browser", "datetime", "backdrop", "libraryBrowser", "listView", "imageL
|
||||||
context.querySelector(".navigationSection").classList.add("hide");
|
context.querySelector(".navigationSection").classList.add("hide");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (-1 != supportedCommands.indexOf("DisplayMessage") && -1 != supportedCommands.indexOf("SendString") && -1 != supportedCommands.indexOf("Select") && !currentPlayer.isLocalPlayer) {
|
if ((-1 != supportedCommands.indexOf("DisplayMessage") || -1 != supportedCommands.indexOf("SendString") || -1 != supportedCommands.indexOf("Select")) && !currentPlayer.isLocalPlayer) {
|
||||||
context.querySelector(".remoteControlSection").classList.remove("hide");
|
context.querySelector(".remoteControlSection").classList.remove("hide");
|
||||||
} else {
|
} else {
|
||||||
context.querySelector(".remoteControlSection").classList.add("hide");
|
context.querySelector(".remoteControlSection").classList.add("hide");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue