summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-06-17 10:04:47 -0800
committerCorey Hulen <corey@hulen.com>2015-06-17 10:04:47 -0800
commit8265b32b8bd0ccd7929c018eb162f5f059dd13d7 (patch)
tree149d035c6a1be5cd96026c5ed4727084954334fc
parent1d9400f18c99009549fe0ad9aae2a3352aa61dc1 (diff)
parent20ead3585d77d32862065749bdb25eed9fee0f25 (diff)
downloadchat-8265b32b8bd0ccd7929c018eb162f5f059dd13d7.tar.gz
chat-8265b32b8bd0ccd7929c018eb162f5f059dd13d7.tar.bz2
chat-8265b32b8bd0ccd7929c018eb162f5f059dd13d7.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.jsx2
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;
}