ソースを参照

Changes the timelimit between spacebar and last keypress

Shashank Jain 4 年 前
コミット
3d5ff7d5fa
1 ファイル変更1 行追加1 行削除
  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