summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
authorFlorian Orben <florian.orben@gmail.com>2015-12-04 23:50:55 +0100
committerFlorian Orben <florian.orben@gmail.com>2015-12-04 23:50:55 +0100
commit896b401a195deb6fd724e608812b6a9d4b9dc24b (patch)
treef8713513708ee904c311fd3f71243cf5795d6f2a /web/react/utils
parent1bee1e06e4d0110db274c076860fa97f76471ddb (diff)
downloadchat-896b401a195deb6fd724e608812b6a9d4b9dc24b.tar.gz
chat-896b401a195deb6fd724e608812b6a9d4b9dc24b.tar.bz2
chat-896b401a195deb6fd724e608812b6a9d4b9dc24b.zip
autocomplete component should enter suggestions on 'tab'
Diffstat (limited to 'web/react/utils')
-rw-r--r--web/react/utils/constants.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx
index 2d0edd596..3d795f56e 100644
--- a/web/react/utils/constants.jsx
+++ b/web/react/utils/constants.jsx
@@ -391,7 +391,8 @@ export default {
BACKSPACE: 8,
ENTER: 13,
ESCAPE: 27,
- SPACE: 32
+ SPACE: 32,
+ TAB: 9
},
HighlightedLanguages: {
diff: 'Diff',