Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 7eb125f

Browse files
committed
Wait for mathjax to be ready
1 parent 8033567 commit 7eb125f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

runestone/mchoice/js/mchoice.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ export default class MultipleChoice extends RunestoneBase {
4949
this.createMCForm();
5050
this.addCaption("runestone");
5151
this.checkServer("mChoice", true);
52+
$(document).on("runestone:mathjax-ready", function () {
53+
this.queueMathJax(this.containerDiv);
54+
});
5255
}
5356

5457
/*====================================

0 commit comments

Comments
 (0)