when invoke ctrl/command+f select all text in the "Search Vault" input (#131)

This commit is contained in:
ra1nb0w 2018-08-30 14:25:54 +02:00 committed by Kyle Spearrin
parent 1e56d84674
commit 32c2469a17
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ export class VaultComponent implements OnInit, OnDestroy {
await this.addFolder(); await this.addFolder();
break; break;
case 'focusSearch': case 'focusSearch':
(document.querySelector('#search') as HTMLInputElement).focus(); (document.querySelector('#search') as HTMLInputElement).select();
detectChanges = false; detectChanges = false;
break; break;
case 'openPasswordGenerator': case 'openPasswordGenerator':