Skip to content

Commit d78bebb

Browse files
Matching: use queuMathJax instead of typesetPromise
1 parent 2fdeb9b commit d78bebb

File tree

1 file changed

+1
-3
lines changed
  • bases/rsptx/interactives/runestone/matching/js

1 file changed

+1
-3
lines changed

bases/rsptx/interactives/runestone/matching/js/matching.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ export class MatchingProblem extends RunestoneBase {
6161
this.renderBoxes();
6262
this.attachEvents();
6363

64-
if (window.MathJax && MathJax.typesetPromise) {
65-
MathJax.typesetPromise();
66-
}
64+
this.queueMathJax(this.containerDiv);
6765
}
6866

6967
// required elements for a Runestone component

0 commit comments

Comments
 (0)