mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 13:24:05 -06:00
fix multiple svg in graph
This commit is contained in:
parent
bb9b52babc
commit
a8238b1077
@ -128,12 +128,13 @@
|
||||
{{end}}
|
||||
|
||||
// draw graph in hidden // not working
|
||||
const containerModal = document.getElementById("graph-container-modal")
|
||||
// retry if the graph is not ready
|
||||
if (!containerModal) return requestAnimationFrame(render)
|
||||
// clear the graph in case there is anything within it
|
||||
containerModal.textContent = ""
|
||||
|
||||
|
||||
// const containerModal = document.getElementById("graph-container-modal")
|
||||
// // retry if the graph is not ready
|
||||
// if (!containerModal) return requestAnimationFrame(render)
|
||||
// // clear the graph in case there is anything within it
|
||||
// containerModal.textContent = ""
|
||||
|
||||
drawGraph(
|
||||
{{strings.TrimRight "/" .Site.BaseURL}},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user