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

update closing of streams

This commit is contained in:
Luke Pulverenti 2016-09-29 08:55:49 -04:00
parent d43c5874f2
commit 63d66a049a
78 changed files with 643 additions and 367 deletions

View file

@ -367,12 +367,15 @@ define(['playbackManager', 'inputManager', 'connectionManager', 'embyRouter', 'g
}
function onCommand(e) {
var cmd = e.detail.command;
if (cmd == 'play' || cmd == 'record' || cmd == 'menu' || cmd == 'info') {
var card = dom.parentWithClass(e.target, 'itemAction');
if (card) {
e.preventDefault();
e.stopPropagation();
executeAction(card, card, cmd);
}
}