mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-05 05:17:40 +02:00
focus pin if using pinLock
This commit is contained in:
parent
53260a5be8
commit
f67fac3eeb
@ -92,7 +92,7 @@ export class LockComponent implements OnInit {
|
||||
togglePassword() {
|
||||
this.platformUtilsService.eventTrack('Toggled Master Password on Unlock');
|
||||
this.showPassword = !this.showPassword;
|
||||
document.getElementById('masterPassword').focus();
|
||||
document.getElementById(this.pinLock ? 'pin' : 'masterPassword').focus();
|
||||
}
|
||||
|
||||
private async setKeyAndContinue(key: SymmetricCryptoKey) {
|
||||
|
Loading…
Reference in New Issue
Block a user