mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-03 08:49:50 +01:00
Revert "set focus manually before search text"
This reverts commit fee87030de
.
This commit is contained in:
parent
fee87030de
commit
fe94d0533b
@ -3,7 +3,8 @@
|
|||||||
<app-pop-out></app-pop-out>
|
<app-pop-out></app-pop-out>
|
||||||
</div>
|
</div>
|
||||||
<div class="search">
|
<div class="search">
|
||||||
<input type="search" placeholder="{{'searchVault' | i18n}}" id="search" [(ngModel)]="searchText">
|
<input type="search" placeholder="{{'searchVault' | i18n}}" id="search"
|
||||||
|
[(ngModel)]="searchText" appAutofocus>
|
||||||
<i class="fa fa-search"></i>
|
<i class="fa fa-search"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
|
@ -78,8 +78,6 @@ export class GroupingsComponent extends BaseGroupingsComponent implements OnInit
|
|||||||
}
|
}
|
||||||
|
|
||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
document.getElementById('search').focus();
|
|
||||||
|
|
||||||
this.showLeftHeader = !this.platformUtilsService.isSafari() &&
|
this.showLeftHeader = !this.platformUtilsService.isSafari() &&
|
||||||
!(this.popupUtils.inSidebar(window) && this.platformUtilsService.isFirefox());
|
!(this.popupUtils.inSidebar(window) && this.platformUtilsService.isFirefox());
|
||||||
this.stateService.remove('CiphersComponent');
|
this.stateService.remove('CiphersComponent');
|
||||||
|
Loading…
Reference in New Issue
Block a user