瀏覽代碼

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