diff --git a/dashboard-ui/components/remotecontrol.js b/dashboard-ui/components/remotecontrol.js index d666b31617..96073738a7 100644 --- a/dashboard-ui/components/remotecontrol.js +++ b/dashboard-ui/components/remotecontrol.js @@ -541,7 +541,7 @@ } else { - btnCast.querySelector('i').innerHTML = 'cast-connected'; + btnCast.querySelector('i').innerHTML = 'cast_connected'; btnCast.classList.add('btnActiveCast'); context.querySelector('.nowPlayingSelectedPlayer').innerHTML = info.deviceName || info.name; } diff --git a/dashboard-ui/scripts/mediacontroller.js b/dashboard-ui/scripts/mediacontroller.js index 3715bf87c6..7372b10061 100644 --- a/dashboard-ui/scripts/mediacontroller.js +++ b/dashboard-ui/scripts/mediacontroller.js @@ -121,7 +121,7 @@ function showActivePlayerMenu(playerInfo) { - require(['dialogHelper', 'emby-checkbox', 'emby-button'], function (dialogHelper) { + require(['dialogHelper', 'dialog', 'emby-checkbox', 'emby-button'], function (dialogHelper) { showActivePlayerMenuInternal(dialogHelper, playerInfo); }); } @@ -141,11 +141,14 @@ var dlg = dialogHelper.createDialog(dialogOptions); + dlg.classList.add('promptDialog'); + + html += '
'; html += '

'; html += (playerInfo.deviceName || playerInfo.name); html += '

'; - html += '
'; + html += '
'; if (playerInfo.supportedCommands.indexOf('DisplayContent') != -1) { @@ -158,17 +161,18 @@ html += '
'; - html += '
'; + html += '
'; // On small layouts papepr dialog doesn't respond very well. this button isn't that important here anyway. if (screen.availWidth >= 600) { - html += ''; + html += ''; } - html += ''; - html += ''; + html += ''; + html += ''; html += '
'; + html += '
'; dlg.innerHTML = html; document.body.appendChild(dlg);