forked from gitbot/hugo-book
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