diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-01-24 00:39:47 +0100 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-01-24 00:39:47 +0100 |
commit | 83f6c3d4755fcdb5ffd0d6720d888f73fd9fd828 (patch) | |
tree | 1a264b209ca1528476957401240222a8480edaf4 /assets | |
parent | dc7e2f001398e00ba061ca15b1d4f689f5d09959 (diff) |
Disable space as search focus key
Diffstat (limited to 'assets')
-rw-r--r-- | assets/search.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/assets/search.js b/assets/search.js index e064a14..d6ae18b 100644 --- a/assets/search.js +++ b/assets/search.js @@ -28,8 +28,6 @@ function isHotkey(character) { const dataHotkeys = input.getAttribute('data-hotkeys') || ''; - const hotkeys = dataHotkeys.split(' '); - return dataHotkeys.indexOf(character) >= 0; } |