mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
try fix graph in modal
This commit is contained in:
parent
f80d90d6aa
commit
7db81d0173
@ -121,7 +121,14 @@
|
||||
|
||||
{{end}}
|
||||
|
||||
// draw graph in modal
|
||||
// draw graph in modal // 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 = ""
|
||||
|
||||
drawGraph(
|
||||
{{strings.TrimRight "/" .Site.BaseURL}},
|
||||
true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user