mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update dialogs
This commit is contained in:
parent
c71f597c58
commit
afc7e51fc8
33 changed files with 152 additions and 139 deletions
|
@ -1183,14 +1183,14 @@
|
|||
document.body.appendChild(dlg);
|
||||
|
||||
if (layoutManager.tv) {
|
||||
centerFocus(dlg.querySelector('.dialogContent'), false, true);
|
||||
centerFocus(dlg.querySelector('.formDialogContent'), false, true);
|
||||
}
|
||||
|
||||
dialogHelper.open(dlg);
|
||||
|
||||
dlg.addEventListener('close', function () {
|
||||
if (layoutManager.tv) {
|
||||
centerFocus(dlg.querySelector('.dialogContent'), false, false);
|
||||
centerFocus(dlg.querySelector('.formDialogContent'), false, false);
|
||||
}
|
||||
|
||||
unbindItemChanged(dlg, connectionManager.getApiClient(serverId));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue