don't start incremental search on Space or Shift-Space

This commit is contained in:
tophf 2020-10-22 08:51:48 +03:00
parent 3cb9cbb862
commit 34f899fc45

View File

@ -86,7 +86,8 @@ onDOMready().then(() => {
$('#search').focus();
return;
}
if (ctrl || inTextInput) {
if (ctrl || inTextInput ||
key === ' ' && !input.value /* Space or Shift-Space is for page down/up */) {
return;
}
const time = performance.now();