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

Commit f362485

Browse files
committed
Return the promise when requesting MathJax render
1 parent eca1aa0 commit f362485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runestone/common/js/runestonebase.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ export default class RunestoneBase {
449449
// See - https://docs.mathjax.org/en/latest/advanced/typeset.html
450450
// Per the above we should keep track of the promises and only call this
451451
// a second time if all previous promises have resolved.
452-
MathJax.typesetPromise([component]);
452+
return MathJax.typesetPromise([component]);
453453
}
454454
}
455455
}

0 commit comments

Comments
 (0)