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

Fix PR issues.

This commit is contained in:
Ian Walton 2020-09-22 07:34:46 -04:00
parent f5311864bc
commit ecad2e4bda
3 changed files with 5 additions and 15 deletions

View file

@ -220,18 +220,16 @@ function showActivePlayerMenuInternal(dialogHelper, playerInfo) {
html += '</label>';
}
html += '</div><div>';
html += '</div>';
if (autocast.supported()) {
html += '<label class="checkboxContainer">';
html += '<div><label class="checkboxContainer">';
var checkedHtmlAC = autocast.isEnabled() ? ' checked' : '';
html += '<input type="checkbox" is="emby-checkbox" class="chkAutoCast"' + checkedHtmlAC + '/>';
html += '<span>' + globalize.translate('EnableAutoCast') + '</span>';
html += '</label>';
html += '</label></div>';
}
html += '</div>';
html += '<div style="margin-top:1em;display:flex;justify-content: flex-end;">';
html += '<button is="emby-button" type="button" class="button-flat btnRemoteControl promptDialogButton">' + globalize.translate('HeaderRemoteControl') + '</button>';