aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/app.component.ts2
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts6
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index d4841a69b..8354a8724 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -157,7 +157,7 @@ export class AppComponent implements OnInit {
157 this.router.navigate([ '/videos/upload' ]) 157 this.router.navigate([ '/videos/upload' ])
158 return false 158 return false
159 }, undefined, 'Go to the videos upload page'), 159 }, undefined, 'Go to the videos upload page'),
160 new Hotkey('T', (event: KeyboardEvent): boolean => { 160 new Hotkey('shift+t', (event: KeyboardEvent): boolean => {
161 this.themeService.toggleDarkTheme() 161 this.themeService.toggleDarkTheme()
162 return false 162 return false
163 }, undefined, 'Toggle Dark theme') 163 }, undefined, 'Toggle Dark theme')
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts
index 768a08d42..834428fa4 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -122,15 +122,15 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
122 }) 122 })
123 123
124 this.hotkeys = [ 124 this.hotkeys = [
125 new Hotkey('L', (event: KeyboardEvent): boolean => { 125 new Hotkey('shift+l', (event: KeyboardEvent): boolean => {
126 this.setLike() 126 this.setLike()
127 return false 127 return false
128 }, undefined, 'Like the video'), 128 }, undefined, 'Like the video'),
129 new Hotkey('D', (event: KeyboardEvent): boolean => { 129 new Hotkey('shift+d', (event: KeyboardEvent): boolean => {
130 this.setDislike() 130 this.setDislike()
131 return false 131 return false
132 }, undefined, 'Dislike the video'), 132 }, undefined, 'Dislike the video'),
133 new Hotkey('S', (event: KeyboardEvent): boolean => { 133 new Hotkey('shift+s', (event: KeyboardEvent): boolean => {
134 this.subscribeButton.subscribed ? 134 this.subscribeButton.subscribed ?
135 this.subscribeButton.unsubscribe() : 135 this.subscribeButton.unsubscribe() :
136 this.subscribeButton.subscribe() 136 this.subscribeButton.subscribe()