aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
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/videos
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/videos')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts6
1 files changed, 3 insertions, 3 deletions
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()