Disable space as search focus key
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user