Disable graph view on edit page
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2020-10-14 15:35:36 +02:00
parent e2f3656474
commit 643ec5e98c
2 changed files with 4 additions and 4 deletions

View File

@ -36,9 +36,9 @@ mermaid.initialize({startOnLoad: true})
PrismJS.plugins.filterHighlightAll.reject.addSelector('.language-mermaid') PrismJS.plugins.filterHighlightAll.reject.addSelector('.language-mermaid')
PrismJS.plugins.filterHighlightAll.reject.addSelector('.language-dot') PrismJS.plugins.filterHighlightAll.reject.addSelector('.language-dot')
$(function () { // $(function () {
wikiGraph('.graph-network') // wikiGraph('.graph-network')
}) // })
function isMultiline(input) { function isMultiline(input) {
return input.value.startsWith("```", 0) return input.value.startsWith("```", 0)

View File

@ -30,7 +30,7 @@
{{ end }} {{ end }}
</div> </div>
<div class="column"> <div class="column is-hidden graph-view">
{{ if .ShowGraph }} {{ if .ShowGraph }}
<div class="graph-network" data-name="{{ .Name }}" style="height:80vh; top:0; position: sticky"></div> <div class="graph-network" data-name="{{ .Name }}" style="height:80vh; top:0; position: sticky"></div>
{{ end }} {{ end }}