Re-\added the focusInput method to allow desktop build run (#3937)
This commit is contained in:
parent
bc3879e194
commit
4c9cddd639
|
@ -275,4 +275,9 @@ export class LoginComponent extends CaptchaProtectedComponent implements OnInit
|
|||
this.showLoginWithDevice = false;
|
||||
}
|
||||
}
|
||||
|
||||
protected focusInput() {
|
||||
const email = this.loggedEmail;
|
||||
document.getElementById(email == null || email === "" ? "email" : "masterPassword").focus();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue