Add missing CSS selector for TV Layout + fix code smell

This commit is contained in:
ferferga 2020-06-24 19:52:47 +02:00
parent ab12e6e4ad
commit fd6b20d88c
2 changed files with 3 additions and 2 deletions

View File

@ -154,7 +154,8 @@
display: none;
}
.layout-desktop .nowPlayingBarRight .playPauseButton {
.layout-desktop .nowPlayingBarRight .playPauseButton,
.layout-tv .nowPlayingBarRight .playPauseButton {
display: none;
}

View File

@ -518,8 +518,8 @@ define(['browser', 'datetime', 'backdrop', 'libraryBrowser', 'listView', 'imageL
case 'Shuffle':
shuffleButton.classList.toggle(cssClass, true);
break;
default:
case 'Sorted':
default:
shuffleButton.classList.toggle(cssClass, false);
break;
}