diff --git a/WebApp/js/markdown.js b/WebApp/js/markdown.js index c2d4280..425b292 100644 --- a/WebApp/js/markdown.js +++ b/WebApp/js/markdown.js @@ -1,7 +1,6 @@ document.addEventListener('DOMContentLoaded', function () { - // support mermaind - if (mermaid) { + if (typeof mermaid !== 'undefined') { mermaid.initialize({ startOnLoad: true }); }