Render emoji in group name in group updates
// FREEBIE
This commit is contained in:
@@ -105,7 +105,9 @@
|
|||||||
renderControl: function() {
|
renderControl: function() {
|
||||||
if (this.model.isEndSession() || this.model.isGroupUpdate()) {
|
if (this.model.isEndSession() || this.model.isGroupUpdate()) {
|
||||||
this.$el.addClass('control');
|
this.$el.addClass('control');
|
||||||
this.$('.content').text(this.model.getDescription());
|
var content = this.$('.content');
|
||||||
|
content.text(this.model.getDescription());
|
||||||
|
emoji_util.parse(content);
|
||||||
} else {
|
} else {
|
||||||
this.$el.removeClass('control');
|
this.$el.removeClass('control');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user