diff options
Diffstat (limited to 'ext/bg/js/search.js')
-rw-r--r-- | ext/bg/js/search.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js index e2497264..69edfabd 100644 --- a/ext/bg/js/search.js +++ b/ext/bg/js/search.js @@ -152,7 +152,8 @@ class DisplaySearch extends Display { } _onSearchKeydown(e) { - if (e.code !== 'Enter' || e.shiftKey) { return; } + const {code} = e; + if (!((code === 'Enter' || code === 'NumpadEnter') && !e.shiftKey)) { return; } // Search e.preventDefault(); |