chore(web): use staticfile.org to load mathjax

This commit is contained in:
Baoshuo Ren 2022-04-14 11:31:11 +08:00
parent 4f6842a654
commit 80c3956012
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@
} }
}); });
</script> </script>
<script src="//cdn.bootcss.com/mathjax/2.7.7/MathJax.js?config=TeX-AMS_HTML"></script> <script src="//cdn.staticfile.org/mathjax/2.7.7/MathJax.js?config=TeX-AMS_HTML"></script>
<?php endif ?> <?php endif ?>
<?php if (isset($REQUIRE_LIB['jquery.form'])): ?> <?php if (isset($REQUIRE_LIB['jquery.form'])): ?>

View File

@ -62,7 +62,7 @@
transition: 'slide', transition: 'slide',
math: { math: {
mathjax: '//cdn.bootcss.com/mathjax/2.6.0/MathJax.js', mathjax: '//cdn.staticfile.org/mathjax/2.7.7/MathJax.js',
config: 'TeX-AMS_HTML-full' config: 'TeX-AMS_HTML-full'
}, },