diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-06-02 15:21:36 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-04 09:05:44 +0200 |
commit | 140ea386dea49220f4cdd5b67027e8d30eee1b06 (patch) | |
tree | ddb7b510aa4ea80382d5b4360856d9ee53e6afaf /client/src/app/header | |
parent | 3092e9bbb05fe292fd13bc685b89069c3dda55d9 (diff) | |
download | PeerTube-140ea386dea49220f4cdd5b67027e8d30eee1b06.tar.gz PeerTube-140ea386dea49220f4cdd5b67027e8d30eee1b06.tar.zst PeerTube-140ea386dea49220f4cdd5b67027e8d30eee1b06.zip |
inject lang in document to match current locale
Diffstat (limited to 'client/src/app/header')
-rw-r--r-- | client/src/app/header/search-typeahead.component.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/header/search-typeahead.component.html b/client/src/app/header/search-typeahead.component.html index 710268664..6d931db20 100644 --- a/client/src/app/header/search-typeahead.component.html +++ b/client/src/app/header/search-typeahead.component.html | |||
@@ -2,6 +2,7 @@ | |||
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)="handleKey($event)" (keydown.enter)="doSearch()" | 4 | [(ngModel)]="search" (ngModelChange)="onSearchChange()" (keyup)="handleKey($event)" (keydown.enter)="doSearch()" |
5 | aria-label="Search" | ||
5 | > | 6 | > |
6 | <span class="icon icon-search" (click)="doSearch()"></span> | 7 | <span class="icon icon-search" (click)="doSearch()"></span> |
7 | 8 | ||