From 83f6c3d4755fcdb5ffd0d6720d888f73fd9fd828 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Fri, 24 Jan 2020 00:39:47 +0100 Subject: Disable space as search focus key --- assets/search.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'assets') 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; } -- cgit v1.2.3