Commit c7ebdb6a authored by Brandon Lyon's avatar Brandon Lyon 💬


parent 13f62aa1
Pipeline #102186927 passed with stages
in 12 minutes and 13 seconds
......@@ -80,13 +80,15 @@
= partial "includes/layout/scripts"
%script{ "data-cookieconsent": "ignore"}
%script{ type: "text/javascript", "data-cookieconsent": "ignore" }
var script = document.querySelector('#mermaidscriptsource');
script.addEventListener('load', function(){
function waitForMermaid(){
if(typeof mermaid !== 'undefined'){
mermaid.init(undefined, ".mermaid");
setTimeout(waitForMermaid, 250);
%script{ src: "/javascripts/cbextras.js", type: "text/javascript", "data-cookieconsent": "ignore" }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment