FIX: Support J/K bindings on German Keyboards

J/K are not supported on German keyboards, shift+j and shift+k have been added to remedy this.
https://meta.discourse.org/t/keyboard-shortcuts-for-next-previous-section-do-not-work-with-german-keyboard-layout/18902
This commit is contained in:
cpradio 2014-08-29 22:18:03 -04:00
parent 111b35f613
commit 89eb03aff0
1 changed files with 2 additions and 0 deletions

View File

@ -47,7 +47,9 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
'home': 'goToFirstPost',
'#': 'toggleProgress',
'end': 'goToLastPost',
'shift+j': 'selectDown',
'j': 'selectDown',
'shift+k': 'selectUp',
'k': 'selectUp',
'u': 'goBack',
'`': 'nextSection',