1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 06:13:38 +00:00

[SG-792] Added focus to master password field on browser and desktop (#3939)

* Added focus to master password field on browser client

* Added focus to master password field on desktop client
This commit is contained in:
Gbubemi Smith
2022-11-01 14:00:50 -04:00
committed by GitHub
parent cd35f9a4fe
commit 7c4f3ac5e9
3 changed files with 7 additions and 5 deletions

View File

@@ -275,9 +275,4 @@ export class LoginComponent extends CaptchaProtectedComponent implements OnInit
this.showLoginWithDevice = false;
}
}
protected focusInput() {
const email = this.loggedEmail;
document.getElementById(email == null || email === "" ? "email" : "masterPassword").focus();
}
}