1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #2247 from thornbill/cant-stop-wont-stop

Always allow stopping via the action menu

(cherry picked from commit 60cce55204)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
Bill Thornton 2020-12-21 14:16:49 -05:00 committed by Joshua M. Boniface
parent 88dc049a2f
commit 6ff1bdcaca
2 changed files with 2 additions and 2 deletions

View file

@ -556,6 +556,7 @@ import { appRouter } from '../appRouter';
const options = {
play: false,
queue: false,
stopPlayback: true,
clearQueue: true,
positionTo: contextButton
};

View file

@ -209,11 +209,10 @@ function updateNowPlayingInfo(context, state, serverId) {
if (autoFocusContextButton) {
contextButton.focus();
}
const stopPlayback = !!layoutManager.mobile;
const options = {
play: false,
queue: false,
stopPlayback: stopPlayback,
stopPlayback: true,
clearQueue: true,
openAlbum: false,
positionTo: contextButton