online-judge/templates/mathjax-load.html
Quantum fc25c65afc Remove ES6 syntax which breaks prod
Fixes issues introduced in #1797.

@int-y1 please refrain from using ES6 in the future if it's unnecessary,
especially in .js files.
2021-10-09 03:53:14 -04:00

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>