Skip to content

Commit

Permalink
Another attempt to fix MathJax loading issues in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Sep 27, 2024
1 parent 4b54d02 commit 79dabb1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion docs/src/js/arithmatex.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ export default (className, mode) => {
}
}
} else if (mode === 'mathjax') {
MathJax.startup.output.clearCache()
if (typeof MathJax.startup.output.clearCache !== "undefined") {
MathJax.startup.output.clearCache()
}
MathJax.typesetClear()
MathJax.texReset()
MathJax.typesetPromise()
Expand Down
Loading

0 comments on commit 79dabb1

Please sign in to comment.