1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00: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

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