diff options
author | Wu Cheng-Han | 2016-07-02 16:03:00 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-07-02 16:03:00 +0800 |
commit | 160b51d16a180a164f9b6eddbd80939478c7bd4b (patch) | |
tree | 1a97f67ff1e2dc6b87506e314483cdd98c0691e6 /public/js | |
parent | af576bd31f86bbc56516149e374b5ad8290280f1 (diff) |
Update to prevent mermaid start on load
Diffstat (limited to '')
-rw-r--r-- | public/js/extra.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/public/js/extra.js b/public/js/extra.js index 9c21939f..46036892 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -161,6 +161,8 @@ function replaceExtraTags(html) { return html; } +if (typeof mermaid !== 'undefined' && mermaid) mermaid.startOnLoad = false; + //dynamic event or object binding here function finishView(view) { //todo list |