Fix: TAB sends a message

This commit is contained in:
Sébastien Hut 2015-09-10 01:56:57 +02:00
parent c5a9e46c05
commit 9851468026
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ module.exports = BasePage.extend({
if (this.$autoComplete.css('display') != 'none') {
var nickname = this.$autoComplete.find(">:nth-child(" + this.autoCompletePos + ")>:first-child").text();
this.rosterItemSelected(nickname);
} else {
} else if (e.which === 13){
app.composing[this.model.jid] = '';
this.sendChat();
}