Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Commit

Permalink
docs: fix Mathjax startup
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed Apr 1, 2024
1 parent 9714264 commit 75ff0f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/javascript/mathjax.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ window.MathJax = {
},
};

document$.subscribe(() => {
ocument$.subscribe(() => {
MathJax.startup.output.clearCache();
MathJax.typesetClear();
MathJax.texReset();
MathJax.typesetPromise();
});

0 comments on commit 75ff0f5

Please sign in to comment.