summaryrefslogtreecommitdiffstats
path: root/web/react/components/textbox.jsx
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-06-17 12:25:41 -0400
committerJoramWilander <jwawilander@gmail.com>2015-06-17 12:25:41 -0400
commitb7e516ff2e9f21f1f4ec12f9a37e6cc3623be6cb (patch)
tree5ed2a2f098ae519adedc5bdb95e85116b9e05642 /web/react/components/textbox.jsx
parent0d6ed4a6ab14c4fc4bbdf4bd0b63c19d896a7b48 (diff)
downloadchat-b7e516ff2e9f21f1f4ec12f9a37e6cc3623be6cb.tar.gz
chat-b7e516ff2e9f21f1f4ec12f9a37e6cc3623be6cb.tar.bz2
chat-b7e516ff2e9f21f1f4ec12f9a37e6cc3623be6cb.zip
fix an auto-complete bug for mentions
Diffstat (limited to 'web/react/components/textbox.jsx')
-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;
}