Skip to content

Commit

Permalink
Fix another issue with MetacatUI.root not being added to component URL
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenwalker committed Dec 8, 2020
1 parent 885ae88 commit 90c1897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/views/MarkdownView.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ define([ "jquery", "underscore", "backbone",
}
}

addCSS("/components/showdown/extensions/showdown-katex/katex.min.css");
addCSS(MetacatUI.root + "/components/showdown/extensions/showdown-katex/katex.min.css");

// SDextensions lists the desired order* of all potentailly required showdown extensions (* order matters! )
var SDextensions = ["xssfilter", "katex", "highlight", "docbook",
Expand Down

0 comments on commit 90c1897

Please sign in to comment.