Browse Source

Changes the timelimit between spacebar and last keypress

Shashank Jain 4 năm trước cách đây
mục cha
commit
3d5ff7d5fa
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      assets/javascripts/app/shortcuts.coffee

+ 1 - 1
assets/javascripts/app/shortcuts.coffee

@@ -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