- Fix (Extensions): Use "extIconsPath for now given that extPath will not work relative to dist`

This commit is contained in:
Brett Zamir
2018-05-28 21:59:39 +08:00
parent 54d6fd41b6
commit 5e8f460f55
2 changed files with 2 additions and 2 deletions

View File

@@ -179,7 +179,7 @@ svgEditor.addExtension('mathjax', function () {
s.src = curConfig.extPath + mathjaxSrcSecure;
// See `executeAfterLoads` in `svgutils.js`
*/
$.getScript(mathjaxSrcSecure)
$.getScript(svgEditor.curConfig.extIconsPath + mathjaxSrcSecure)
.done(function (script, textStatus) {
// When MathJax is loaded get the div where the math will be rendered.
MathJax.Hub.queue.Push(function () {