Skip to content

Commit

Permalink
Changes the timelimit between spacebar and last keypress
Browse files Browse the repository at this point in the history
  • Loading branch information
shashank1207 committed Jun 10, 2021
1 parent 4286e90 commit 3d5ff7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/javascripts/app/shortcuts.coffee
Expand Up @@ -59,7 +59,7 @@ class app.Shortcuts
@trigger 'escape'
false
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'
false
when 33
Expand Down

0 comments on commit 3d5ff7d

Please sign in to comment.