1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 16:45:58 +01:00

Autofocus username input on login page

This commit is contained in:
Alexandre Iooss 2022-12-30 10:20:41 +01:00 committed by Juliusz Chroboczek
parent 8775ce6406
commit 49db9f94d5

View file

@ -3841,6 +3841,7 @@ async function start() {
window.location.href = groupStatus.authPortal; window.location.href = groupStatus.authPortal;
} else { } else {
setVisibility('login-container', true); setVisibility('login-container', true);
document.getElementById('username').focus()
} }
setViewportHeight(); setViewportHeight();
} }