From 9347c10ae641ca65d26c66e80f2ab05c42c01885 Mon Sep 17 00:00:00 2001 From: "M. Sonntag" Date: Wed, 28 Oct 2020 15:09:28 +0100 Subject: [PATCH] Update mathjax version to 2.7.7 Closes #506 --- CHANGELOG.md | 1 + app/controllers/Application.scala | 4 ++-- app/views/components/mathjax.scala.html | 2 +- public/service-worker.js | 14 +++++++------- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3aa2048c..e374ec25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ The current project setup is still using an outdated build tool (`activator`) an - Added error messages on abstract reference validation, if the input is numeric. For details see issue #499. - The outdated mapbox.js plugin was updated to the latest version. See issue #510 for details. - An issue was resolved where the sortid of an abstract was removed when an abstract was re-submitted. See issue #507 for details. +- The outdated mathjax.js plugin was updated to version 2.7.7. See issue #506 for details. # Release v1.2 diff --git a/app/controllers/Application.scala b/app/controllers/Application.scala index a5eb3926..ba03ef36 100644 --- a/app/controllers/Application.scala +++ b/app/controllers/Application.scala @@ -268,8 +268,8 @@ class Application(implicit val env: Environment[Login, CachedCookieAuthenticator |https://cdnjs.cloudflare.com/ajax/libs/knockout/3.0.0/knockout-debug.js |https://cdnjs.cloudflare.com/ajax/libs/jquery-ui-timepicker-addon/1.6.1/jquery-ui-timepicker-addon.min.css |https://fonts.googleapis.com/css?family=EB+Garamond|Open+Sans - |https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.3/MathJax.js?delayStartupUntil=configured - |https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.3/extensions/MathMenu.js + |https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?delayStartupUntil=configured + |https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/extensions/MathMenu.js | |# Styles |/assets/stylesheets/_g-node-bootstrap.less diff --git a/app/views/components/mathjax.scala.html b/app/views/components/mathjax.scala.html index e87259f7..fa756551 100644 --- a/app/views/components/mathjax.scala.html +++ b/app/views/components/mathjax.scala.html @@ -1,7 +1,7 @@ @() - +