summaryrefslogtreecommitdiffstats
path: root/webapp/utils/constants.jsx
diff options
context:
space:
mode:
authorDavid Lu <david.lu@hotmail.com>2016-05-02 15:38:40 -0400
committerJoram Wilander <jwawilander@gmail.com>2016-05-02 15:38:40 -0400
commit3e0adf6227dbe466936924f1ba27b71a7a3d6acb (patch)
treeac00ef643362720a156d1d796498dd8634a54f3a /webapp/utils/constants.jsx
parent2fb6c689b7291117e691d50f51fdda2451db9da3 (diff)
downloadchat-3e0adf6227dbe466936924f1ba27b71a7a3d6acb.tar.gz
chat-3e0adf6227dbe466936924f1ba27b71a7a3d6acb.tar.bz2
chat-3e0adf6227dbe466936924f1ba27b71a7a3d6acb.zip
PLT-2755 Shortcut to upload file (#2848)
* Added file upload shortcuts (CTRL+U and CMD+U) * Added KeyCode for U
Diffstat (limited to 'webapp/utils/constants.jsx')
-rw-r--r--webapp/utils/constants.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index 3f8980bfa..d08ecfef7 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -544,7 +544,8 @@ export default {
ENTER: 13,
ESCAPE: 27,
SPACE: 32,
- TAB: 9
+ TAB: 9,
+ U: 85
},
CODE_PREVIEW_MAX_FILE_SIZE: 500000, // 500 KB
HighlightedLanguages: {