summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
authorNick Frazier <nrflaw@gmail.com>2016-12-21 09:37:07 -0500
committerenahum <nahumhbl@gmail.com>2016-12-21 11:37:07 -0300
commit26e43c671c4252dccbf3b0e9257407d41e4297ae (patch)
tree7b5fd3e0c0addda7f8019f0f549ba71ec23cb86f /webapp/utils
parentf0b74e78dde9a029e49e730d854b769a53756624 (diff)
downloadchat-26e43c671c4252dccbf3b0e9257407d41e4297ae.tar.gz
chat-26e43c671c4252dccbf3b0e9257407d41e4297ae.tar.bz2
chat-26e43c671c4252dccbf3b0e9257407d41e4297ae.zip
PLT-4943: Warn when editing a message > 4000 chars (#4789)
* added basic functionality * css fixes * css fixes part II: electric boogaloo * removed css interference with theme changes, for this and post length error
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/constants.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index d23341ddb..835510c3b 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -865,6 +865,8 @@ export const Constants = {
MENTION_SPECIAL: 'mention.special',
DEFAULT_NOTIFICATION_DURATION: 5000,
STATUS_INTERVAL: 60000,
+ AUTOCOMPLETE_TIMEOUT: 100,
+ ANIMATION_TIMEOUT: 1000,
SEARCH_TIMEOUT_MILLISECONDS: 100
};