Restore focus to the search button when exiting the search overlay

This commit is contained in:
ndrooo 2024-08-09 19:22:47 -04:00
parent 3f2e2a1ede
commit c1ac72a481

View File

@ -191,6 +191,8 @@ document.addEventListener("nav", async (e: CustomEventMap["nav"]) => {
}
searchType = "basic" // reset search type after closing
searchButton?.focus()
}
function showSearch(searchTypeNew: SearchType) {