this.router.navigate([ '/videos/upload' ])
return false
}, undefined, 'Go to the videos upload page'),
- new Hotkey('T', (event: KeyboardEvent): boolean => {
+ new Hotkey('shift+t', (event: KeyboardEvent): boolean => {
this.themeService.toggleDarkTheme()
return false
}, undefined, 'Toggle Dark theme')
})
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()