1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-21 16:18:28 +01:00

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

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