uncomment window.Million

This commit is contained in:
DhammaCharts 2022-06-01 21:30:40 +01:00
parent 077f3a0d11
commit a61b57f827

View File

@ -180,7 +180,7 @@ async function drawGraph(
])
const neighbourNodes = d3.selectAll(".node").filter((d) => neighbours.includes(d.id))
const currentId = d.id
// window.Million.prefetch(new URL(`${baseUrl}${decodeURI(d.id).replace(/\s+/g, "-")}/`))
window.Million.prefetch(new URL(`${baseUrl}${decodeURI(d.id).replace(/\s+/g, "-")}/`))
const linkNodes = d3
.selectAll(".link")
.filter((d) => d.source.id === currentId || d.target.id === currentId)