diff options
author | Nick Frazier <nrflaw@gmail.com> | 2016-12-21 09:37:07 -0500 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2016-12-21 11:37:07 -0300 |
commit | 26e43c671c4252dccbf3b0e9257407d41e4297ae (patch) | |
tree | 7b5fd3e0c0addda7f8019f0f549ba71ec23cb86f /webapp/components/create_post.jsx | |
parent | f0b74e78dde9a029e49e730d854b769a53756624 (diff) | |
download | chat-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/components/create_post.jsx')
-rw-r--r-- | webapp/components/create_post.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/create_post.jsx b/webapp/components/create_post.jsx index 30af8dd30..4ec2bec38 100644 --- a/webapp/components/create_post.jsx +++ b/webapp/components/create_post.jsx @@ -494,7 +494,7 @@ export default class CreatePost extends React.Component { let postError = null; if (this.state.postError) { - const postErrorClass = 'control-label post-error' + (this.state.errorClass ? (' ' + this.state.errorClass) : ''); + const postErrorClass = 'post-error' + (this.state.errorClass ? (' ' + this.state.errorClass) : ''); postError = <label className={postErrorClass}>{this.state.postError}</label>; } |