[devdocsgjs/main: 1725/1867] Update assets/javascripts/app/shortcuts.coffee




commit 8bdc096075c2ffe5fcbb95e416f48da8e9b42643
Author: shashank1207 <73484229+shashank1207 users noreply github com>
Date:   Tue Jun 15 18:42:26 2021 +0530

    Update assets/javascripts/app/shortcuts.coffee
    
    Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams gmail com>

 assets/javascripts/app/shortcuts.coffee | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/assets/javascripts/app/shortcuts.coffee b/assets/javascripts/app/shortcuts.coffee
index 8ee6e7ea..a79afd32 100644
--- a/assets/javascripts/app/shortcuts.coffee
+++ b/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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]