uncomment window.Million

This commit is contained in:
DhammaCharts 2022-06-01 21:30:40 +01:00
parent e809896338
commit ac0dd50c04

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)