Remove deprecation

This commit is contained in:
Robin Ward 2020-07-06 14:49:01 -04:00
parent fd55ad7233
commit 08c8a94f7e
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
import { withPluginApi } from "discourse/lib/plugin-api";
import { getURLWithCDN } from "discourse-common/lib/get-url";
import loadScript from "discourse/lib/load-script";
let initializedMathJax = false;
@ -19,7 +20,7 @@ function initMathJax(opts) {
TeX: { extensions: ["AMSmath.js", "AMSsymbols.js", "autoload-all.js"] },
extensions: extensions,
showProcessingMessages: false,
root: Discourse.getURLWithCDN("/plugins/discourse-math/mathjax")
root: getURLWithCDN("/plugins/discourse-math/mathjax")
};
if (opts.zoom_on_hover) {