mirror of
https://github.com/alrayyes/wiki.git
synced 2025-06-21 20:36:33 +00:00
fix back button in spa not working between two pages that both have hash fragments
This commit is contained in:
parent
58d9dc0528
commit
07a327e05a
4 changed files with 15 additions and 11 deletions
quartz/components/scripts
|
@ -179,7 +179,6 @@ async function renderGraph(container: string, slug: CanonicalSlug) {
|
|||
const neighbourNodes = d3
|
||||
.selectAll<HTMLElement, NodeData>(".node")
|
||||
.filter((d) => neighbours.includes(d.id))
|
||||
console.log(neighbourNodes)
|
||||
const currentId = d.id
|
||||
const linkNodes = d3
|
||||
.selectAll(".link")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue