|
@@ -1547,7 +1547,7 @@
|
|
converse.incrementMsgCounter();
|
|
converse.incrementMsgCounter();
|
|
}
|
|
}
|
|
if (!this.model.get('minimized') && !this.$el.is(':visible')) {
|
|
if (!this.model.get('minimized') && !this.$el.is(':visible')) {
|
|
- _.debounce(this.show, 100);
|
|
|
|
|
|
+ _.debounce(this.show.bind(this), 100)();
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
@@ -2022,8 +2022,7 @@
|
|
}
|
|
}
|
|
this.setChatState(ACTIVE);
|
|
this.setChatState(ACTIVE);
|
|
this.scrollDown().focus();
|
|
this.scrollDown().focus();
|
|
- }.bind(this)
|
|
|
|
- );
|
|
|
|
|
|
+ }.bind(this));
|
|
return this;
|
|
return this;
|
|
},
|
|
},
|
|
|
|
|