mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
1ad3cfbf43
commit
106870b066
11 changed files with 99 additions and 65 deletions
|
@ -284,6 +284,8 @@
|
|||
if (!dlg.classList.contains('hide')) {
|
||||
|
||||
var onAnimationFinish = function () {
|
||||
focusManager.popScope(dlg);
|
||||
|
||||
dlg.classList.add('hide');
|
||||
if (dlg.close) {
|
||||
dlg.close();
|
||||
|
@ -319,6 +321,7 @@
|
|||
function animateDialogOpen(dlg) {
|
||||
|
||||
var onAnimationFinish = function () {
|
||||
focusManager.pushScope(dlg);
|
||||
if (dlg.getAttribute('data-autofocus') == 'true') {
|
||||
autoFocus(dlg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue