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

Add stop playback option in mobile's layout context menu

This commit is contained in:
ferferga 2020-07-01 15:05:08 +02:00
parent 21b17e8097
commit 737341934a
5 changed files with 18 additions and 13 deletions

View file

@ -185,9 +185,11 @@ define(['browser', 'datetime', 'backdrop', 'libraryBrowser', 'listView', 'imageL
if (autoFocusContextButton) {
contextButton.focus();
}
let stopPlayback = false || layoutManager.mobile;
var options = {
play: false,
queue: false,
stopPlayback: stopPlayback,
openAlbum: false,
positionTo: contextButton
};