BUGFIX: js error in composer

This commit is contained in:
Sam 2015-03-05 14:57:31 +11:00
parent c4fa75918b
commit b015db647b

View file

@ -53,7 +53,12 @@ export default Ember.ArrayController.extend({
@method typedReply @method typedReply
**/ **/
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);
}
});
}, },
/** /**