mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-19 18:42:34 +00:00
Use MathJax.typesetPromise
* See: https://github.com/next-theme/hexo-theme-next/issues/355
This commit is contained in:
parent
361c7e16c6
commit
7b8cf30732
2
source/js/third-party/math/mathjax.js
vendored
2
source/js/third-party/math/mathjax.js
vendored
@ -31,6 +31,6 @@ document.addEventListener('page:loaded', () => {
|
|||||||
MathJax.startup.document.state(0);
|
MathJax.startup.document.state(0);
|
||||||
MathJax.typesetClear();
|
MathJax.typesetClear();
|
||||||
MathJax.texReset();
|
MathJax.texReset();
|
||||||
MathJax.typeset();
|
MathJax.typesetPromise();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user