From a157b3a322258ee5792322cf4a79437ba8d5cc2d Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Tue, 11 Sep 2018 14:13:02 +0200 Subject: specify shift in keyboard shortcuts cheatsheet --- client/src/app/videos/+video-watch/video-watch.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/videos') 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 { }) this.hotkeys = [ - new Hotkey('L', (event: KeyboardEvent): boolean => { + new Hotkey('shift+l', (event: KeyboardEvent): boolean => { this.setLike() return false }, undefined, 'Like the video'), - new Hotkey('D', (event: KeyboardEvent): boolean => { + new Hotkey('shift+d', (event: KeyboardEvent): boolean => { this.setDislike() return false }, undefined, 'Dislike the video'), - new Hotkey('S', (event: KeyboardEvent): boolean => { + new Hotkey('shift+s', (event: KeyboardEvent): boolean => { this.subscribeButton.subscribed ? this.subscribeButton.unsubscribe() : this.subscribeButton.subscribe() -- cgit v1.2.3