From 0a1664ba296796c347a1690ff5eea71363961806 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 15 Jan 2021 20:19:56 -0500 Subject: Separate close hotkey (#1242) * Add focusSearchBox hotkey * Update close hotkey action * Update hotkeys --- test/test-options-util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/test-options-util.js b/test/test-options-util.js index e245a285..f27fbcd4 100644 --- a/test/test-options-util.js +++ b/test/test-options-util.js @@ -440,7 +440,8 @@ function createProfileOptionsUpdatedTestData1() { }, 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}, -- cgit v1.2.3