fixed bugs:
- suppressed display of search results if nothing was found but there were previous searches - improved display timing of search results/initial pages, which led to false displays
This commit is contained in:
@@ -47,10 +47,10 @@ searchButton.addEventListener("click", () => {
|
||||
});
|
||||
|
||||
searchBar.addEventListener("input", () => {
|
||||
updateSections();
|
||||
clearTimeout(searchBarTimeout);
|
||||
searchBarTimeout = setTimeout(() => {
|
||||
fetchQuery(createQuery(), true);
|
||||
updateSections();
|
||||
}, searchDelay);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user