Change mathjax config file name

This commit is contained in:
cuom1999 2022-11-25 12:52:49 -06:00
parent 51a8400fa5
commit 3df9b6ab79
16 changed files with 15 additions and 41 deletions

View file

@ -394,7 +394,7 @@ class ProblemPdfView(ProblemMixin, SingleObjectMixin, View):
maker.title = problem_name
assets = ["style.css", "pygment-github.css"]
if maker.math_engine == "jax":
assets.append("mathjax_config.js")
assets.append("mathjax3_config.js")
for file in assets:
maker.load(file, os.path.join(settings.DMOJ_RESOURCES, file))
maker.make()