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

Add autofocus on page load

This commit is contained in:
Dmitry Lyzo 2019-11-02 20:38:58 +03:00
parent 88db651eea
commit 7a10be5933
24 changed files with 147 additions and 22 deletions

View file

@ -116,6 +116,10 @@ define(["apphost", "appSettings", "dom", "connectionManager", "loading", "layout
view.querySelector(".visualLoginForm").classList.remove("hide");
view.querySelector(".manualLoginForm").classList.add("hide");
view.querySelector(".btnManual").classList.remove("hide");
require(["autoFocuser"], function (autoFocuser) {
autoFocuser.autoFocus(view);
});
}
view.querySelector("#divUsers").addEventListener("click", function(e) {