diff --git a/lib/iso.tsx b/lib/iso.tsx index 1bb54ea..df2df88 100644 --- a/lib/iso.tsx +++ b/lib/iso.tsx @@ -78,14 +78,19 @@ export const Router = { document.addEventListener("click", e=> { const t = e.target as HTMLAnchorElement; - if(t.href) + const path = e.composedPath() as HTMLAnchorElement[]; + for(let i=0; i