From fa0c0fa24d700cd88bb4a579f93f0d8774ef471c Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 24 Feb 2018 13:51:12 -0500 Subject: [PATCH] toggle password focus on add/edit --- src/app/vault/add-edit.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/vault/add-edit.component.ts b/src/app/vault/add-edit.component.ts index 810fd19549..4023abab42 100644 --- a/src/app/vault/add-edit.component.ts +++ b/src/app/vault/add-edit.component.ts @@ -209,6 +209,7 @@ export class AddEditComponent implements OnChanges { togglePassword() { this.analytics.eventTrack.next({ action: 'Toggled Password on Edit' }); this.showPassword = !this.showPassword; + document.getElementById('loginPassword').focus(); } toggleFieldValue(field: FieldView) {