summaryrefslogtreecommitdiffstats
path: root/web/react
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
commit6016a98ea3371755c93de054ca7fa0e553f94f78 (patch)
treede63276a966ebf3e0bf722995519f65dc8ce7581 /web/react
parent425402f2c4ab108e527df2e7fc84b79219f5bb6a (diff)
parentb7e516ff2e9f21f1f4ec12f9a37e6cc3623be6cb (diff)
downloadchat-6016a98ea3371755c93de054ca7fa0e553f94f78.tar.gz
chat-6016a98ea3371755c93de054ca7fa0e553f94f78.tar.bz2
chat-6016a98ea3371755c93de054ca7fa0e553f94f78.zip
Merge pull request #22 from mattermost/mention-fix
fix an auto-complete bug for mentions MERGE FOR HELIUM RELEASE
Diffstat (limited to 'web/react')
-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;
}