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

@ -3709,10 +3709,7 @@ define(['events', 'datetime', 'appSettings', 'itemHelper', 'pluginManager', 'pla
return textStreamUrl;
};
PlaybackManager.prototype.stop = function (player) {
player = player || this._currentPlayer;
PlaybackManager.prototype.stop = function (player = this._currentPlayer) {
if (player) {
if (enableLocalPlaylistManagement(player)) {