Incoming bubbles have sender's color background
// FREEBIE
This commit is contained in:
parent
4060221b9c
commit
512c5bf739
7 changed files with 51 additions and 84 deletions
|
@ -100,7 +100,7 @@
|
|||
}
|
||||
},
|
||||
render: function() {
|
||||
var contact = this.model.getContact();
|
||||
var contact = this.model.isIncoming() ? this.model.getContact() : null;
|
||||
this.$el.html(
|
||||
Mustache.render(_.result(this, 'template', ''), {
|
||||
message: this.model.get('body'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue