summaryrefslogtreecommitdiffstats
path: root/web/react/components
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
commit20ead3585d77d32862065749bdb25eed9fee0f25 (patch)
treecd15f35513fa8b594b1ee4f705d03fce87eea167 /web/react/components
parent5a8f8397167cec8cba29b70bb7dbdda9ba0265f7 (diff)
downloadchat-20ead3585d77d32862065749bdb25eed9fee0f25.tar.gz
chat-20ead3585d77d32862065749bdb25eed9fee0f25.tar.bz2
chat-20ead3585d77d32862065749bdb25eed9fee0f25.zip
fix an auto-complete bug for mentions
Diffstat (limited to 'web/react/components')
-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;
}