We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 702d90e commit 5afd2e8Copy full SHA for 5afd2e8
lib/main.js
@@ -773,9 +773,9 @@ function ReturnResult(result) {
773
state.n = GLYPH.n;
774
state.ID = ID;
775
}
776
- callback(result, data);
777
serverState = STATE.READY;
778
- StartQueue();
+ callback(result, data);
+ if (serverState === STATE.READY) StartQueue();
779
780
781
//
@@ -809,8 +809,8 @@ function RestartMathJax() {
809
MathJax.Hub.queue.queue = []; // clear MathJax queue, so pending operations won't fire
810
MathJax = timer = window = document = html = content = null;
811
ReportError("Timeout waiting for MathJax: restarting");
812
- serverState = STATE.STOPPED;
813
+ serverState = STATE.STOPPED;
814
GetWindow();
815
ConfigureMathJax();
816
StartMathJax();
0 commit comments