mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix broken card styling fix :-)
This commit is contained in:
parent
7e8886c352
commit
39c6429fe2
1 changed files with 2 additions and 1 deletions
|
@ -61,6 +61,8 @@ async function _updateQA(
|
|||
renderError("HTML")(error);
|
||||
}
|
||||
|
||||
await _runHook(onUpdateHook);
|
||||
|
||||
// wait for mathjax to ready
|
||||
await MathJax.startup.promise
|
||||
.then(() => {
|
||||
|
@ -70,7 +72,6 @@ async function _updateQA(
|
|||
return MathJax.typesetPromise(qa.slice(0, 1));
|
||||
})
|
||||
.catch(renderError("MathJax"));
|
||||
await _runHook(onUpdateHook);
|
||||
|
||||
// and reveal when processing is done
|
||||
await qa.fadeTo(fadeTime, 1).promise();
|
||||
|
|
Loading…
Reference in a new issue