Add new class to expanded content so it can be styled
This commit is contained in:
parent
29541501ab
commit
06913474b4
|
@ -184,7 +184,7 @@ Discourse.Post = Discourse.Model.extend({
|
|||
expand: function() {
|
||||
var self = this;
|
||||
return Discourse.ajax("/posts/" + this.get('id') + "/expand-embed").then(function(post) {
|
||||
self.set('cooked', post.cooked);
|
||||
self.set('cooked', "<section class='expanded-embed'>" + post.cooked + "</section>" );
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue