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

Commit f5e5cf6

Browse files
committed
more consistent support for math in dragndrop
1 parent 51ef84d commit f5e5cf6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

runestone/dragndrop/js/dragndrop.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ export default class DragNDrop extends RunestoneBase {
100100
this.dragDropWrapDiv.appendChild(this.dropZoneDiv);
101101
this.createButtons();
102102
this.checkServer("dragNdrop", true);
103+
self = this;
104+
if (typeof runestoneMathready !== "undefined") {
105+
runestoneMathReady.then(() => self.queueMathJax(self.containerDiv));
106+
}
107+
103108
}
104109
finishSettingUp() {
105110
this.appendReplacementSpans();

0 commit comments

Comments
 (0)