summaryrefslogtreecommitdiffstats
path: root/web
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
commit876c6069972b7d6b95d0f91f3b9c0bee7f5aedaa (patch)
treea8fee4ffab2319492322e25ed01a4c9d728ebe84 /web
parent7eca61c2f0839f275314c9dce4f56ca6a3f99b8d (diff)
parent5a0389bc2175aa1a24581d7a36353c92fde4ed79 (diff)
downloadchat-876c6069972b7d6b95d0f91f3b9c0bee7f5aedaa.tar.gz
chat-876c6069972b7d6b95d0f91f3b9c0bee7f5aedaa.tar.bz2
chat-876c6069972b7d6b95d0f91f3b9c0bee7f5aedaa.zip
Merge pull request #22 from mattermost/mention-fix
fix an auto-complete bug for mentions MERGE FOR HELIUM RELEASE
Diffstat (limited to 'web')
-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;
}