Fix: TAB sends a message
This commit is contained in:
parent
c5a9e46c05
commit
9851468026
|
@ -135,7 +135,7 @@ module.exports = BasePage.extend({
|
||||||
if (this.$autoComplete.css('display') != 'none') {
|
if (this.$autoComplete.css('display') != 'none') {
|
||||||
var nickname = this.$autoComplete.find(">:nth-child(" + this.autoCompletePos + ")>:first-child").text();
|
var nickname = this.$autoComplete.find(">:nth-child(" + this.autoCompletePos + ")>:first-child").text();
|
||||||
this.rosterItemSelected(nickname);
|
this.rosterItemSelected(nickname);
|
||||||
} else {
|
} else if (e.which === 13){
|
||||||
app.composing[this.model.jid] = '';
|
app.composing[this.model.jid] = '';
|
||||||
this.sendChat();
|
this.sendChat();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue