⚡ Improved the comments plug-in load function, close #12
This commit is contained in:
7
static/js/third-party/math/katex.js
vendored
Normal file
7
static/js/third-party/math/katex.js
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
/* global NexT, CONFIG */
|
||||
|
||||
document.addEventListener('page:loaded', () => {
|
||||
if (!CONFIG.enableMath) return;
|
||||
|
||||
NexT.utils.getScript(CONFIG.katex.copy_tex_js).catch(() => {});
|
||||
});
|
||||
Reference in New Issue
Block a user