History

Changes the timelimit between spacebar and last keypress

Shashank Jain committed 5 years ago

Commit 3d5ff7d1 parent 4286e901 file · +1 −1Browse files

Unified · Split

assets/javascripts/app/shortcuts.coffee+1−1
@@ -59,7 +59,7 @@ class app.Shortcuts · 58 unmodified lines
5959 @trigger 'escape'
6060 false
6161 when 32
62− if event.target.type is 'search' and (not @lastKeypress or @lastKeypress < Date.now() - 500)
62+ if event.target.type is 'search' and (not @lastKeypress or @lastKeypress < Date.now() - 3000)
6363 @trigger 'pageDown'
6464 false
6565 when 33