diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-06-17 12:25:41 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-06-17 12:25:41 -0400 |
commit | b7e516ff2e9f21f1f4ec12f9a37e6cc3623be6cb (patch) | |
tree | 5ed2a2f098ae519adedc5bdb95e85116b9e05642 /web/react | |
parent | 0d6ed4a6ab14c4fc4bbdf4bd0b63c19d896a7b48 (diff) | |
download | chat-b7e516ff2e9f21f1f4ec12f9a37e6cc3623be6cb.tar.gz chat-b7e516ff2e9f21f1f4ec12f9a37e6cc3623be6cb.tar.bz2 chat-b7e516ff2e9f21f1f4ec12f9a37e6cc3623be6cb.zip |
fix an auto-complete bug for mentions
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/components/textbox.jsx | 2 |
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; } |