mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix device dialog
This commit is contained in:
parent
759d707b7e
commit
ad97f736bf
1 changed files with 7 additions and 4 deletions
|
@ -178,10 +178,13 @@
|
||||||
|
|
||||||
var destination = '';
|
var destination = '';
|
||||||
|
|
||||||
dlg.querySelector('.btnRemoteControl').addEventListener('click', function () {
|
var btnRemoteControl = dlg.querySelector('.btnRemoteControl');
|
||||||
destination = 'nowplaying.html';
|
if (btnRemoteControl) {
|
||||||
dialogHelper.close(dlg);
|
btnRemoteControl.addEventListener('click', function () {
|
||||||
});
|
destination = 'nowplaying.html';
|
||||||
|
dialogHelper.close(dlg);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
dlg.querySelector('.btnDisconnect').addEventListener('click', function () {
|
dlg.querySelector('.btnDisconnect').addEventListener('click', function () {
|
||||||
MediaController.disconnectFromPlayer();
|
MediaController.disconnectFromPlayer();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue