add typeset operation in mathjax queue on response list render

This commit is contained in:
noraiz-anwar
2018-08-15 19:00:42 +05:00
committed by Noraiz Anwar
parent c195df3c60
commit 21907d4759
2 changed files with 2 additions and 0 deletions

View File

@@ -317,6 +317,7 @@
if (options.focusAddedResponse) {
this.focusToTheAddedResponse(view.el);
}
DiscussionUtil.typesetMathJax(view.$el.find('.js-response-list'));
};
DiscussionThreadView.prototype.renderAddResponseButton = function() {

View File

@@ -177,6 +177,7 @@
});
this.commentViews.push(view);
this.focusToTheCommentResponse(view.$el.closest('.forum-response'));
DiscussionUtil.typesetMathJax(view.$el.find('.response-body'));
return view;
};