Skip to content
Snippets Groups Projects
Commit 21907d47 authored by noraiz-anwar's avatar noraiz-anwar Committed by Noraiz Anwar
Browse files

add typeset operation in mathjax queue on response list render

parent c195df3c
No related merge requests found
......@@ -317,6 +317,7 @@
if (options.focusAddedResponse) {
this.focusToTheAddedResponse(view.el);
}
DiscussionUtil.typesetMathJax(view.$el.find('.js-response-list'));
};
DiscussionThreadView.prototype.renderAddResponseButton = function() {
......
......@@ -177,6 +177,7 @@
});
this.commentViews.push(view);
this.focusToTheCommentResponse(view.$el.closest('.forum-response'));
DiscussionUtil.typesetMathJax(view.$el.find('.response-body'));
return view;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment