mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 08:22:24 -04:00
Add back opacity change
This commit is contained in:
parent
272f2f7d1a
commit
f52df75bc2
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,8 @@ async function _updateQA(
|
|||
|
||||
const qa = document.getElementById("qa")!;
|
||||
|
||||
qa.style.opacity = "0";
|
||||
|
||||
try {
|
||||
setInnerHTML(qa, html);
|
||||
} catch (error) {
|
||||
|
@ -110,6 +112,8 @@ async function _updateQA(
|
|||
})
|
||||
.catch(renderError("MathJax"));
|
||||
|
||||
qa.style.opacity = "1";
|
||||
|
||||
await _runHook(onShownHook);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue