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
53371d27ab
commit
48d4b0c287
6 changed files with 18 additions and 11 deletions
|
@ -41,7 +41,9 @@ define(['viewcontainer', 'focusManager', 'queryString', 'connectionManager', 'ev
|
|||
var eventDetail = getViewEventDetail(view, options, isRestore);
|
||||
|
||||
if (!isRestore) {
|
||||
focusManager.autoFocus(view);
|
||||
if (options.autoFocus !== false) {
|
||||
focusManager.autoFocus(view);
|
||||
}
|
||||
}
|
||||
else if (view.activeElement) {
|
||||
view.activeElement.focus();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue