BUGFIX: js error in composer

This commit is contained in:
Sam 2015-03-05 14:57:31 +11:00
parent c4fa75918b
commit b015db647b
1 changed files with 6 additions and 1 deletions

View File

@ -53,7 +53,12 @@ export default Ember.ArrayController.extend({
@method typedReply
**/
typedReply() {
this.get('queuedForTyping').forEach(msg => this.popup(msg));
var self = this;
this.get('queuedForTyping').forEach(function(msg){
if(self.popup){
this.popup(msg);
}
});
},
/**