diff --git a/editor/extensions/ext-mathjax.js b/editor/extensions/ext-mathjax.js index c40e5260..c914eb6a 100644 --- a/editor/extensions/ext-mathjax.js +++ b/editor/extensions/ext-mathjax.js @@ -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 () { diff --git a/editor/extensions/ext-shapes.js b/editor/extensions/ext-shapes.js index 2aaf8f9f..20a67423 100644 --- a/editor/extensions/ext-shapes.js +++ b/editor/extensions/ext-shapes.js @@ -118,7 +118,7 @@ svgEditor.addExtension('shapes', function () { if (!lib) { $('#shape_buttons').html('Loading...'); - $.getJSON(svgEditor.curConfig.extPath + 'shapelib/' + catId + '.json', function (result) { + $.getJSON(svgEditor.curConfig.extIconsPath + 'shapelib/' + catId + '.json', function (result) { curLib = library[catId] = { data: result.data, size: result.size,