mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2025-05-07 14:28:11 +00:00
Disable space as search focus key
This commit is contained in:
parent
dc7e2f0013
commit
83f6c3d475
@ -28,8 +28,6 @@
|
||||
|
||||
function isHotkey(character) {
|
||||
const dataHotkeys = input.getAttribute('data-hotkeys') || '';
|
||||
const hotkeys = dataHotkeys.split(' ');
|
||||
|
||||
return dataHotkeys.indexOf(character) >= 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user