Add focus to register and auth forms.
This commit is contained in:
parent
e6f677b129
commit
271b37c309
@ -80,6 +80,8 @@ const SCENES = {
|
||||
MAIN.appendChild(container);
|
||||
MAIN.setAttribute("class", "form");
|
||||
|
||||
document.getElementById("handle").focus();
|
||||
|
||||
return true;
|
||||
}
|
||||
message(code, data) {
|
||||
@ -173,6 +175,8 @@ const SCENES = {
|
||||
MAIN.appendChild(container);
|
||||
MAIN.setAttribute("class", "form");
|
||||
|
||||
document.getElementById("handle").focus();
|
||||
|
||||
return true;
|
||||
}
|
||||
message(code, data) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user