1
0
mirror of https://github.com/bitwarden/web synced 2025-12-19 17:53:22 +00:00

focus length input on change

This commit is contained in:
Kyle Spearrin
2019-04-15 22:37:29 -04:00
parent 18c89e4fa5
commit a29e9e11f7
3 changed files with 6 additions and 2 deletions

View File

@@ -43,4 +43,8 @@ export class PasswordGeneratorComponent extends BasePasswordGeneratorComponent {
this.modal = null;
});
}
lengthChanged() {
document.getElementById('length').focus();
}
}