fix broken card styling fix :-)
This commit is contained in:
parent
7e8886c352
commit
39c6429fe2
@ -61,6 +61,8 @@ async function _updateQA(
|
|||||||
renderError("HTML")(error);
|
renderError("HTML")(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await _runHook(onUpdateHook);
|
||||||
|
|
||||||
// wait for mathjax to ready
|
// wait for mathjax to ready
|
||||||
await MathJax.startup.promise
|
await MathJax.startup.promise
|
||||||
.then(() => {
|
.then(() => {
|
||||||
@ -70,7 +72,6 @@ async function _updateQA(
|
|||||||
return MathJax.typesetPromise(qa.slice(0, 1));
|
return MathJax.typesetPromise(qa.slice(0, 1));
|
||||||
})
|
})
|
||||||
.catch(renderError("MathJax"));
|
.catch(renderError("MathJax"));
|
||||||
await _runHook(onUpdateHook);
|
|
||||||
|
|
||||||
// and reveal when processing is done
|
// and reveal when processing is done
|
||||||
await qa.fadeTo(fadeTime, 1).promise();
|
await qa.fadeTo(fadeTime, 1).promise();
|
||||||
|
Loading…
Reference in New Issue
Block a user