Changes the timelimit between spacebar and last keypress

pull/1570/head
Shashank Jain 4 years ago
parent 4286e908ea
commit 3d5ff7d5fa

@ -59,7 +59,7 @@ class app.Shortcuts
@trigger 'escape' @trigger 'escape'
false false
when 32 when 32
if event.target.type is 'search' and (not @lastKeypress or @lastKeypress < Date.now() - 500) if event.target.type is 'search' and (not @lastKeypress or @lastKeypress < Date.now() - 3000)
@trigger 'pageDown' @trigger 'pageDown'
false false
when 33 when 33

Loading…
Cancel
Save