fix: Filename in viewer.js

This commit is contained in:
Sidharth Vinod 2022-10-06 23:39:30 +08:00
parent c919bef70e
commit 9f286b46ff
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD

View File

@ -36,7 +36,7 @@ const contentLoaded = function () {
document.getElementsByTagName('body')[0].appendChild(div);
}
graphObj.mermaid.extraDiagrams = ['/mermaid-mindmap-detector.js'];
graphObj.mermaid.extraDiagrams = ['/mermaid-mindmap-detector.core.mjs'];
mermaid2.initialize(graphObj.mermaid);
mermaid2.init();