diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-04-07 02:20:24 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-04-07 02:20:26 +0200 |
commit | be6343d26ec07fd792de069229bd3be27e72d129 (patch) | |
tree | 1add575ec520518977f4342f9cb78f0903c0c2c8 /client/src/app/header/search-typeahead.component.html | |
parent | 8323c435c19ac6ed1656ee8436b175bce7bd2c82 (diff) | |
download | PeerTube-be6343d26ec07fd792de069229bd3be27e72d129.tar.gz PeerTube-be6343d26ec07fd792de069229bd3be27e72d129.tar.zst PeerTube-be6343d26ec07fd792de069229bd3be27e72d129.zip |
Fix search after first type on input
Diffstat (limited to 'client/src/app/header/search-typeahead.component.html')
-rw-r--r-- | client/src/app/header/search-typeahead.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/header/search-typeahead.component.html b/client/src/app/header/search-typeahead.component.html index 46b28ed48..710268664 100644 --- a/client/src/app/header/search-typeahead.component.html +++ b/client/src/app/header/search-typeahead.component.html | |||
@@ -1,7 +1,7 @@ | |||
1 | <div class="d-inline-flex position-relative" id="typeahead-container"> | 1 | <div class="d-inline-flex position-relative" id="typeahead-container"> |
2 | <input | 2 | <input |
3 | type="text" id="search-video" name="search-video" #searchVideo i18n-placeholder placeholder="Search videos, channels…" | 3 | type="text" id="search-video" name="search-video" #searchVideo i18n-placeholder placeholder="Search videos, channels…" |
4 | [(ngModel)]="search" (ngModelChange)="onSearchChange()" (keyup)="handleKeyUp($event)" | 4 | [(ngModel)]="search" (ngModelChange)="onSearchChange()" (keyup)="handleKey($event)" (keydown.enter)="doSearch()" |
5 | > | 5 | > |
6 | <span class="icon icon-search" (click)="doSearch()"></span> | 6 | <span class="icon icon-search" (click)="doSearch()"></span> |
7 | 7 | ||