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
59 @trigger 'escape'59 @trigger 'escape'
60 false60 false
61 when 3261 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)
63 @trigger 'pageDown'63 @trigger 'pageDown'
64 false64 false
65 when 3365 when 33