From 142ab5e912271b90ed286beb0ff8e8fe0393341c Mon Sep 17 00:00:00 2001 From: Tim Daniel Metzler Date: Fri, 15 Sep 2023 16:45:18 +0200 Subject: [PATCH] Remove mathjax url --- e2xgrader/server_extensions/apps/formgrader/handlers.py | 1 - .../apps/formgrader/templates/formgrade/index.html.j2 | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/e2xgrader/server_extensions/apps/formgrader/handlers.py b/e2xgrader/server_extensions/apps/formgrader/handlers.py index e2cb567c..8ddbf79b 100644 --- a/e2xgrader/server_extensions/apps/formgrader/handlers.py +++ b/e2xgrader/server_extensions/apps/formgrader/handlers.py @@ -214,7 +214,6 @@ def get(self, submission_id): "index": ix, "total": len(indices), "base_url": self.base_url, - "my_mathjax_url": self.base_url + "/" + self.mathjax_url, "student": student_id, "last_name": submission.student.last_name, "first_name": submission.student.first_name, diff --git a/e2xgrader/server_extensions/apps/formgrader/templates/formgrade/index.html.j2 b/e2xgrader/server_extensions/apps/formgrader/templates/formgrade/index.html.j2 index d12624e0..d18d9fae 100644 --- a/e2xgrader/server_extensions/apps/formgrader/templates/formgrade/index.html.j2 +++ b/e2xgrader/server_extensions/apps/formgrader/templates/formgrade/index.html.j2 @@ -15,7 +15,7 @@ -{{ mathjax( resources.my_mathjax_url + '?config=TeX-AMS-MML_HTMLorMML-full') }} +{{ mathjax( ) }}