diff options
author | Corey Hulen <corey@hulen.com> | 2015-06-17 10:04:47 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-06-17 10:04:47 -0800 |
commit | fad1069649a67c0c4b3db9afafde084d68ff1aec (patch) | |
tree | 13eb86ff4f2359ef41f4865347c6333c743f4f0b | |
parent | fbf60e109a32306f65c84a85224b21acfb158887 (diff) | |
parent | 46ee3018d63f5c89676d5f8ff1e2b4ccd5b68d89 (diff) | |
download | chat-fad1069649a67c0c4b3db9afafde084d68ff1aec.tar.gz chat-fad1069649a67c0c4b3db9afafde084d68ff1aec.tar.bz2 chat-fad1069649a67c0c4b3db9afafde084d68ff1aec.zip |
Merge pull request #22 from mattermost/mention-fix
fix an auto-complete bug for mentions MERGE FOR HELIUM RELEASE
-rw-r--r-- | web/react/components/textbox.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/textbox.jsx b/web/react/components/textbox.jsx index 45798809f..7a4762e07 100644 --- a/web/react/components/textbox.jsx +++ b/web/react/components/textbox.jsx @@ -204,7 +204,7 @@ module.exports = React.createClass({ // If there is a space after the last @, nothing to do. if (lastSpace > atIndex || lastCharSpace > atIndex) { - this.setState({ mentionText: '-1' }); + this.updateMentionTab('-1', null); return; } |