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 | 5a0389bc2175aa1a24581d7a36353c92fde4ed79 (patch) | |
tree | 62ac5dcab46ccef720bed179ae2edee2086330d3 /web/react/components | |
parent | e7772f5dff2f4ca24d484a10e7e6649c79098af9 (diff) | |
download | chat-5a0389bc2175aa1a24581d7a36353c92fde4ed79.tar.gz chat-5a0389bc2175aa1a24581d7a36353c92fde4ed79.tar.bz2 chat-5a0389bc2175aa1a24581d7a36353c92fde4ed79.zip |
fix an auto-complete bug for mentions
Diffstat (limited to 'web/react/components')
-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; } |