Prechádzať zdrojové kódy

Update assets/javascripts/app/shortcuts.coffee

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
shashank1207 4 rokov pred
rodič
commit
8bdc096075
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      assets/javascripts/app/shortcuts.coffee

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

@@ -62,7 +62,7 @@ class app.Shortcuts
         @trigger 'escape'
         false
       when 32
-        if event.target.type is 'search' and @spaceScroll() and (not @lastKeypress or @lastKeypress < Date.now() - 1000)
+        if event.target.type is 'search' and @spaceScroll() and (not @lastKeypress or @lastKeypress < Date.now() - 500)
           @trigger 'pageDown'
           false
       when 33