aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-09-11 14:13:02 +0200
committerRigel Kent <sendmemail@rigelk.eu>2018-09-11 14:18:59 +0200
commita157b3a322258ee5792322cf4a79437ba8d5cc2d (patch)
tree1e9362554df7ba5c1da0786041815d7254c7801a /client/src/app
parente3f7f600e87a19079abd79e9d04d9a150484557c (diff)
downloadPeerTube-a157b3a322258ee5792322cf4a79437ba8d5cc2d.tar.gz
PeerTube-a157b3a322258ee5792322cf4a79437ba8d5cc2d.tar.zst
PeerTube-a157b3a322258ee5792322cf4a79437ba8d5cc2d.zip
specify shift in keyboard shortcuts cheatsheet
Diffstat (limited to 'client/src/app')
-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()