aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/header/suggestions.component.ts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-02-03 14:04:42 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-02-13 16:32:58 +0100
commit52cc0d54850e0acf069d2f95d063826f16ff5238 (patch)
treefb7450bc09fc5aa34c480bd197407c4881b85299 /client/src/app/header/suggestions.component.ts
parent6af662a5961b48ac12682df2b8b971060a2cc67d (diff)
downloadPeerTube-52cc0d54850e0acf069d2f95d063826f16ff5238.tar.gz
PeerTube-52cc0d54850e0acf069d2f95d063826f16ff5238.tar.zst
PeerTube-52cc0d54850e0acf069d2f95d063826f16ff5238.zip
Gracefully downsize search bar for mobile devices
Diffstat (limited to 'client/src/app/header/suggestions.component.ts')
-rw-r--r--client/src/app/header/suggestions.component.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/client/src/app/header/suggestions.component.ts b/client/src/app/header/suggestions.component.ts
index 122c09388..fac7fe2f9 100644
--- a/client/src/app/header/suggestions.component.ts
+++ b/client/src/app/header/suggestions.component.ts
@@ -19,7 +19,6 @@ export class SuggestionsComponent implements AfterViewInit {
19 @Output() init = new EventEmitter() 19 @Output() init = new EventEmitter()
20 20
21 ngAfterViewInit () { 21 ngAfterViewInit () {
22 this.init.emit({ items: this.listItems })
23 this.listItems.changes.subscribe( 22 this.listItems.changes.subscribe(
24 val => this.init.emit({ items: this.listItems }) 23 val => this.init.emit({ items: this.listItems })
25 ) 24 )