From 75ff0f54cfdd7c08110969b306b00930122635bc Mon Sep 17 00:00:00 2001 From: Lars Reimann Date: Mon, 1 Apr 2024 19:39:19 +0200 Subject: [PATCH] docs: fix Mathjax startup --- docs/javascript/mathjax.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/javascript/mathjax.js b/docs/javascript/mathjax.js index 5da38f79..8b296f74 100644 --- a/docs/javascript/mathjax.js +++ b/docs/javascript/mathjax.js @@ -11,6 +11,9 @@ window.MathJax = { }, }; -document$.subscribe(() => { +ocument$.subscribe(() => { + MathJax.startup.output.clearCache(); + MathJax.typesetClear(); + MathJax.texReset(); MathJax.typesetPromise(); });