From 49db9f94d53d60631d206929486cfe49cde7b5c7 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Fri, 30 Dec 2022 10:20:41 +0100 Subject: [PATCH] Autofocus username input on login page --- static/galene.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/galene.js b/static/galene.js index 0227319..9babef8 100644 --- a/static/galene.js +++ b/static/galene.js @@ -3841,6 +3841,7 @@ async function start() { window.location.href = groupStatus.authPortal; } else { setVisibility('login-container', true); + document.getElementById('username').focus() } setViewportHeight(); }