Re-\added the focusInput method to allow desktop build run (#3937)

This commit is contained in:
Gbubemi Smith 2022-10-31 19:25:55 -04:00 committed by GitHub
parent bc3879e194
commit 4c9cddd639
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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();
}
}