Disable space as search focus key
This commit is contained in:
parent
dc7e2f0013
commit
83f6c3d475
2 changed files with 1 additions and 3 deletions
|
@ -28,8 +28,6 @@
|
||||||
|
|
||||||
function isHotkey(character) {
|
function isHotkey(character) {
|
||||||
const dataHotkeys = input.getAttribute('data-hotkeys') || '';
|
const dataHotkeys = input.getAttribute('data-hotkeys') || '';
|
||||||
const hotkeys = dataHotkeys.split(' ');
|
|
||||||
|
|
||||||
return dataHotkeys.indexOf(character) >= 0;
|
return dataHotkeys.indexOf(character) >= 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue