mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 02:21:37 +01:00
search: fix redundant results after clearing searchbox
This commit is contained in:
parent
4a4408573e
commit
bb2717a3b9
@ -49,6 +49,8 @@ document.getElementById("searchInput").onkeyup = function (e) {
|
||||
}
|
||||
|
||||
document.getElementById("searchResults").innerHTML = resultSet;
|
||||
} else {
|
||||
document.getElementById("searchResults").innerHTML = '';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user