mirror of
https://github.com/DMOJ/online-judge.git
synced 2024-11-25 16:32:37 +08:00
fc25c65afc
Fixes issues introduced in #1797. @int-y1 please refrain from using ES6 in the future if it's unnecessary, especially in .js files.
9 lines
363 B
HTML
9 lines
363 B
HTML
<script type="text/javascript" src="{{ static('mathjax_config.js') }}"></script>
|
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.0/es5/tex-chtml.min.js"></script>
|
|
<script type="text/javascript">
|
|
MathJax.typesetPromise().then(function () {
|
|
$('.tex-image').hide();
|
|
$('.tex-text').show();
|
|
});
|
|
</script>
|