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:
parent
93adfafe03
commit
7c9cbbcd8d
8 changed files with 685 additions and 214 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue