aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r--client/src/app/app.component.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index 7bab2e2fd..40eac7fb8 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -128,27 +128,27 @@ export class AppComponent implements OnInit {
128 document.getElementById('search-video').focus() 128 document.getElementById('search-video').focus()
129 return false // Prevent bubbling 129 return false // Prevent bubbling
130 }, undefined, 'Focus the search bar'), 130 }, undefined, 'Focus the search bar'),
131 new Hotkey('g+s', (event: KeyboardEvent): boolean => { 131 new Hotkey('g s', (event: KeyboardEvent): boolean => {
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 => { 135 new Hotkey('g o', (event: KeyboardEvent): boolean => {
136 this.router.navigate([ '/videos/overview' ]) 136 this.router.navigate([ '/videos/overview' ])
137 return false 137 return false
138 }, undefined, 'Go to the videos overview page'), 138 }, undefined, 'Go to the videos overview page'),
139 new Hotkey('g+t', (event: KeyboardEvent): boolean => { 139 new Hotkey('g t', (event: KeyboardEvent): boolean => {
140 this.router.navigate([ '/videos/trending' ]) 140 this.router.navigate([ '/videos/trending' ])
141 return false 141 return false
142 }, undefined, 'Go to the trending videos page'), 142 }, undefined, 'Go to the trending videos page'),
143 new Hotkey('g+r', (event: KeyboardEvent): boolean => { 143 new Hotkey('g r', (event: KeyboardEvent): boolean => {
144 this.router.navigate([ '/videos/recently-added' ]) 144 this.router.navigate([ '/videos/recently-added' ])
145 return false 145 return false
146 }, undefined, 'Go to the recently added videos page'), 146 }, undefined, 'Go to the recently added videos page'),
147 new Hotkey('g+l', (event: KeyboardEvent): boolean => { 147 new Hotkey('g l', (event: KeyboardEvent): boolean => {
148 this.router.navigate([ '/videos/local' ]) 148 this.router.navigate([ '/videos/local' ])
149 return false 149 return false
150 }, undefined, 'Go to the local videos page'), 150 }, undefined, 'Go to the local videos page'),
151 new Hotkey('g+u', (event: KeyboardEvent): boolean => { 151 new Hotkey('g u', (event: KeyboardEvent): boolean => {
152 this.router.navigate([ '/videos/upload' ]) 152 this.router.navigate([ '/videos/upload' ])
153 return false 153 return false
154 }, undefined, 'Go to the videos upload page') 154 }, undefined, 'Go to the videos upload page')