mirror of
https://github.com/discourse/discourse-math.git
synced 2025-07-05 21:32:11 +00:00
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"] },
|
||||
extensions: extensions,
|
||||
showProcessingMessages: false,
|
||||
root: "/plugins/discourse-math/mathjax"
|
||||
root: Discourse.getURLWithCDN("/plugins/discourse-math/mathjax")
|
||||
};
|
||||
|
||||
if (opts.zoom_on_hover) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user