diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-09-02 19:22:34 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-03 08:49:29 +0200 |
commit | a54991da4224534bf4beaf994d99e4ce5a0a54f7 (patch) | |
tree | fc6f342b96eac331a54b75c468555bf945af2d03 /client/src/app/app.component.ts | |
parent | c28beaea83abf32e4f0588895e961b8137ec5121 (diff) | |
download | PeerTube-a54991da4224534bf4beaf994d99e4ce5a0a54f7.tar.gz PeerTube-a54991da4224534bf4beaf994d99e4ce5a0a54f7.tar.zst PeerTube-a54991da4224534bf4beaf994d99e4ce5a0a54f7.zip |
make left menu show the scrollbar on hover/focus
add hotkey to the overview page
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r-- | client/src/app/app.component.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index a69f419be..7bab2e2fd 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts | |||
@@ -132,6 +132,10 @@ export class AppComponent implements OnInit { | |||
132 | this.router.navigate([ '/videos/subscriptions' ]) | 132 | this.router.navigate([ '/videos/subscriptions' ]) |
133 | return false | 133 | return false |
134 | }, undefined, 'Go to the subscriptions videos page'), | 134 | }, undefined, 'Go to the subscriptions videos page'), |
135 | new Hotkey('g+o', (event: KeyboardEvent): boolean => { | ||
136 | this.router.navigate([ '/videos/overview' ]) | ||
137 | return false | ||
138 | }, undefined, 'Go to the videos overview page'), | ||
135 | new Hotkey('g+t', (event: KeyboardEvent): boolean => { | 139 | new Hotkey('g+t', (event: KeyboardEvent): boolean => { |
136 | this.router.navigate([ '/videos/trending' ]) | 140 | this.router.navigate([ '/videos/trending' ]) |
137 | return false | 141 | return false |