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

update components

This commit is contained in:
Luke Pulverenti 2016-03-15 16:04:29 -04:00
parent 53371d27ab
commit 48d4b0c287
6 changed files with 18 additions and 11 deletions

View file

@ -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();