- Fix (Extensions): Use "extIconsPath` for now given that `extPath` will not work relative to `dist`
parent
54d6fd41b6
commit
5e8f460f55
|
@ -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 () {
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue