mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
fix multiple svg in graph
This commit is contained in:
parent
bb9b52babc
commit
a8238b1077
@ -128,12 +128,13 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
// draw graph in hidden // not working
|
// 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(
|
drawGraph(
|
||||||
{{strings.TrimRight "/" .Site.BaseURL}},
|
{{strings.TrimRight "/" .Site.BaseURL}},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user