diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-03-28 11:27:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-28 11:27:37 -0400 |
commit | 98994d0b6529e665863bc9f6125eb3e116e0f9d5 (patch) | |
tree | 6230d7f1e2fac0645b0483b590c7cb8dcd1db08b /ext/js/pages/settings/keyboard-shortcuts-controller.js | |
parent | 1664cc75f1afe6a98793b16a3b138537c4d144ef (diff) |
Add playAudioFromSource hotkey (#1570)
Diffstat (limited to 'ext/js/pages/settings/keyboard-shortcuts-controller.js')
-rw-r--r-- | ext/js/pages/settings/keyboard-shortcuts-controller.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/js/pages/settings/keyboard-shortcuts-controller.js b/ext/js/pages/settings/keyboard-shortcuts-controller.js index a63430ee..7dbf5aa2 100644 --- a/ext/js/pages/settings/keyboard-shortcuts-controller.js +++ b/ext/js/pages/settings/keyboard-shortcuts-controller.js @@ -48,6 +48,7 @@ class KeyboardShortcutController { ['addNoteTermKana', {scopes: new Set(['popup', 'search'])}], ['viewNote', {scopes: new Set(['popup', 'search'])}], ['playAudio', {scopes: new Set(['popup', 'search'])}], + ['playAudioFromSource', {scopes: new Set(['popup', 'search']), argument: {template: 'hotkey-argument-audio-source', default: 'jpod101'}}], ['copyHostSelection', {scopes: new Set(['popup'])}], ['scanSelectedText', {scopes: new Set(['web'])}] ]); |