FIX: configure mathjax to use CDN (#14)
This commit is contained in:
parent
199c8387a1
commit
d98bc41f18
|
@ -19,7 +19,7 @@ function initMathJax(opts) {
|
||||||
TeX: { extensions: ["AMSmath.js", "AMSsymbols.js", "autoload-all.js"] },
|
TeX: { extensions: ["AMSmath.js", "AMSsymbols.js", "autoload-all.js"] },
|
||||||
extensions: extensions,
|
extensions: extensions,
|
||||||
showProcessingMessages: false,
|
showProcessingMessages: false,
|
||||||
root: "/plugins/discourse-math/mathjax"
|
root: Discourse.getURLWithCDN("/plugins/discourse-math/mathjax")
|
||||||
};
|
};
|
||||||
|
|
||||||
if (opts.zoom_on_hover) {
|
if (opts.zoom_on_hover) {
|
||||||
|
|
Loading…
Reference in New Issue