From 160b51d16a180a164f9b6eddbd80939478c7bd4b Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Sat, 2 Jul 2016 16:03:00 +0800 Subject: [PATCH] Update to prevent mermaid start on load --- public/js/extra.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/js/extra.js b/public/js/extra.js index 9c21939f0..460368929 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