fix(MathJax): parsing error after decrypting encrypted articles

This commit is contained in:
Cell
2025-11-24 15:14:14 +08:00
parent efeb70e19f
commit 9c98f2142f
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -1158,7 +1158,11 @@ class FixIt {
}
initMathJax() {
window.MathJax?.typeset && window.MathJax.typeset();
if (window.MathJax?.typesetPromise) {
window.MathJax.typesetPromise().then(() => {
// Do something else after typesetting is complete
}).catch((err) => console.log(err.message));
}
}
initJsonViewer() {
+1 -1
View File
@@ -1,4 +1,4 @@
{{- hugo.Store.Set "version" "v0.4.0-alpha.3-20251124063901-7d530c9f" -}}
{{- hugo.Store.Set "version" "v0.4.0-alpha.3-20251124071416-efeb70e1" -}}
{{- .Store.Set "this" dict -}}
{{- partial "init/detection-env.html" . -}}