From e4331ab90ee605e073139e20772d5ec69110ec1e Mon Sep 17 00:00:00 2001 From: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Date: Fri, 14 Jun 2024 12:48:09 -0400 Subject: Add web option to profile switching keybinds (#933) * Add web option to profile switching keybinds * Fix spacing * Refactor * Fix comment on update * Make linter happy --------- Signed-off-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> --- ext/js/pages/settings/keyboard-shortcuts-controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/js/pages/settings/keyboard-shortcuts-controller.js') diff --git a/ext/js/pages/settings/keyboard-shortcuts-controller.js b/ext/js/pages/settings/keyboard-shortcuts-controller.js index fd8bd471..89335082 100644 --- a/ext/js/pages/settings/keyboard-shortcuts-controller.js +++ b/ext/js/pages/settings/keyboard-shortcuts-controller.js @@ -59,8 +59,8 @@ export class KeyboardShortcutController { ['previousEntryDifferentDictionary', {scopes: new Set(['popup', 'search'])}], ['historyBackward', {scopes: new Set(['popup', 'search'])}], ['historyForward', {scopes: new Set(['popup', 'search'])}], - ['profilePrevious', {scopes: new Set(['popup', 'search'])}], - ['profileNext', {scopes: new Set(['popup', 'search'])}], + ['profilePrevious', {scopes: new Set(['popup', 'search', 'web'])}], + ['profileNext', {scopes: new Set(['popup', 'search', 'web'])}], ['addNoteKanji', {scopes: new Set(['popup', 'search'])}], ['addNoteTermKanji', {scopes: new Set(['popup', 'search'])}], ['addNoteTermKana', {scopes: new Set(['popup', 'search'])}], -- cgit v1.2.3