diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-01-15 20:19:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-15 20:19:56 -0500 |
commit | 0a1664ba296796c347a1690ff5eea71363961806 (patch) | |
tree | e4b472d2d4bb25552ac0e9beb800ae87c61f59ce /ext/bg/js/options.js | |
parent | 9f202313c744412c984c136937976bbdf46faaef (diff) |
Separate close hotkey (#1242)
* Add focusSearchBox hotkey
* Update close hotkey action
* Update hotkeys
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r-- | ext/bg/js/options.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js index cbc390da..964c346c 100644 --- a/ext/bg/js/options.js +++ b/ext/bg/js/options.js @@ -716,7 +716,8 @@ class OptionsUtil { profile.options.general.popupActionBarLocation = 'top'; profile.options.inputs = { hotkeys: [ - {action: 'close', key: 'Escape', modifiers: [], scopes: ['popup', 'search'], enabled: true}, + {action: 'close', key: 'Escape', modifiers: [], scopes: ['popup'], enabled: true}, + {action: 'focusSearchBox', key: 'Escape', modifiers: [], scopes: ['search'], enabled: true}, {action: 'previousEntry3', key: 'PageUp', modifiers: ['alt'], scopes: ['popup', 'search'], enabled: true}, {action: 'nextEntry3', key: 'PageDown', modifiers: ['alt'], scopes: ['popup', 'search'], enabled: true}, {action: 'lastEntry', key: 'End', modifiers: ['alt'], scopes: ['popup', 'search'], enabled: true}, |