[devdocsgjs/main: 1719/1867] Changes the timelimit between spacebar and last keypress
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 1719/1867] Changes the timelimit between spacebar and last keypress
- Date: Fri, 19 Nov 2021 23:48:16 +0000 (UTC)
commit 3d5ff7d5fa421b98ae114c27a1ffcbfad817c327
Author: Shashank Jain <jain362012 gmail com>
Date: Thu Jun 10 22:58:03 2021 +0530
Changes the timelimit between spacebar and last keypress
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 fb0c7220..edd3336e 100644
--- a/assets/javascripts/app/shortcuts.coffee
+++ b/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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]