FIX: configure mathjax to use CDN (#14)

This commit is contained in:
Kyle Zhao 2018-11-21 17:11:53 -05:00 committed by Sam
parent 199c8387a1
commit d98bc41f18
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ function initMathJax(opts) {
TeX: { extensions: ["AMSmath.js", "AMSsymbols.js", "autoload-all.js"] },
extensions: extensions,
showProcessingMessages: false,
root: "/plugins/discourse-math/mathjax"
root: Discourse.getURLWithCDN("/plugins/discourse-math/mathjax")
};
if (opts.zoom_on_hover) {