mirror of
https://github.com/logos-co/roadmap.git
synced 2025-01-11 08:55:53 +00:00
Fix search bar after navigate (#424)
This commit is contained in:
parent
ad4145fb10
commit
c91e62c376
@ -128,6 +128,7 @@ document.addEventListener("nav", async (e: unknown) => {
|
||||
button.addEventListener("click", () => {
|
||||
const targ = resolveRelative(currentSlug, slug)
|
||||
window.spaNavigate(new URL(targ, window.location.toString()))
|
||||
hideSearch()
|
||||
})
|
||||
return button
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user