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

separate player selection into it's own script

This commit is contained in:
Luke Pulverenti 2016-12-29 02:14:59 -05:00
parent 93adfafe03
commit 7c9cbbcd8d
8 changed files with 685 additions and 214 deletions

View file

@ -748,7 +748,9 @@
context.querySelector('.typeTextForm').addEventListener('submit', onSendStringSubmit);
context.querySelector('.nowPlayingCastIcon').addEventListener('click', function () {
MediaController.showPlayerSelection();
require(['playerSelectionMenu'], function (playerSelectionMenu) {
playerSelectionMenu.show();
});
});
context.querySelector('.btnExitRemoteControl').addEventListener('click', function () {