fix an auto-complete bug for mentions

This commit is contained in:
JoramWilander
2015-06-17 12:25:41 -04:00
parent 0d6ed4a6ab
commit b7e516ff2e

View File

@@ -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;
}