Add back opacity change
This commit is contained in:
parent
272f2f7d1a
commit
f52df75bc2
@ -92,6 +92,8 @@ async function _updateQA(
|
|||||||
|
|
||||||
const qa = document.getElementById("qa")!;
|
const qa = document.getElementById("qa")!;
|
||||||
|
|
||||||
|
qa.style.opacity = "0";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
setInnerHTML(qa, html);
|
setInnerHTML(qa, html);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@ -110,6 +112,8 @@ async function _updateQA(
|
|||||||
})
|
})
|
||||||
.catch(renderError("MathJax"));
|
.catch(renderError("MathJax"));
|
||||||
|
|
||||||
|
qa.style.opacity = "1";
|
||||||
|
|
||||||
await _runHook(onShownHook);
|
await _runHook(onShownHook);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user