1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

move focus to base

This commit is contained in:
Kyle Spearrin
2018-07-13 09:29:22 -04:00
parent e5733b83a0
commit fe6a40f7d0
3 changed files with 3 additions and 4 deletions

View File

@@ -32,7 +32,6 @@ export class LoginComponent extends BaseLoginComponent {
this.email = qParams.email;
}
await super.ngOnInit();
document.getElementById(this.email == null || this.email === '' ? 'email' : 'masterPassword').focus();
});
}
}