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

Merge branch 'bl-fix-mermaid-20191010b' into 'master'

Bl fix mermaid 20191010d

See merge request !36595
parents 0ae3afac b3e00777
Pipeline #102164311 passed with stages
in 17 minutes and 7 seconds
......@@ -65,10 +65,11 @@
- else
%meta{ name: "robots", content: "index, follow" }
%script{src: "/javascripts/libs/mermaid.min.js", type: "text/javascript", "data-cookieconsent": "ignore"}
%script{id: "mermaidscriptsource", src: "/javascripts/libs/mermaid.min.js", async: "false", defer: "false", type: "text/javascript", "data-cookieconsent": "ignore"}
%script{ type: "text/javascript", "data-cookieconsent": "ignore" }
document.addEventListener('DOMContentLoaded', function(){
var script = document.querySelector('#mermaidscriptsource');
script.addEventListener('load', function(){
mermaid.init(undefined, ".mermaid");
%script{ "data-cookieconsent": "ignore"}
-# search functionality
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