mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add missing CSS selector for TV Layout + fix code smell
This commit is contained in:
parent
ab12e6e4ad
commit
fd6b20d88c
2 changed files with 3 additions and 2 deletions
|
@ -154,7 +154,8 @@
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-desktop .nowPlayingBarRight .playPauseButton {
|
.layout-desktop .nowPlayingBarRight .playPauseButton,
|
||||||
|
.layout-tv .nowPlayingBarRight .playPauseButton {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -518,8 +518,8 @@ define(['browser', 'datetime', 'backdrop', 'libraryBrowser', 'listView', 'imageL
|
||||||
case 'Shuffle':
|
case 'Shuffle':
|
||||||
shuffleButton.classList.toggle(cssClass, true);
|
shuffleButton.classList.toggle(cssClass, true);
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
case 'Sorted':
|
case 'Sorted':
|
||||||
|
default:
|
||||||
shuffleButton.classList.toggle(cssClass, false);
|
shuffleButton.classList.toggle(cssClass, false);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue