summaryrefslogtreecommitdiffstats
path: root/web
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
commit46ee3018d63f5c89676d5f8ff1e2b4ccd5b68d89 (patch)
tree03268d7586b26d930a318aaf6fcf9603a0b5b1c9 /web
parenta1c1ab4d00ff499def42c469eac9cf29f567bce6 (diff)
downloadchat-46ee3018d63f5c89676d5f8ff1e2b4ccd5b68d89.tar.gz
chat-46ee3018d63f5c89676d5f8ff1e2b4ccd5b68d89.tar.bz2
chat-46ee3018d63f5c89676d5f8ff1e2b4ccd5b68d89.zip
fix an auto-complete bug for mentions
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;
}