Fix search bar after navigate (#424)
This commit is contained in:
parent
0688a2415f
commit
3233d5b08a
@ -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…
Reference in New Issue
Block a user