Merge pull request #22 from mattermost/mention-fix

fix an auto-complete bug for mentions MERGE FOR HELIUM RELEASE
Этот коммит содержится в:
Corey Hulen
2015-06-17 10:04:47 -08:00
родитель fbf60e109a 46ee3018d6
Коммит fad1069649

Просмотреть файл

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