mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2025-10-30 11:25:26 +01:00
search: fix redundant results after clearing searchbox
This commit is contained in:
@@ -49,6 +49,8 @@ document.getElementById("searchInput").onkeyup = function (e) {
|
||||
}
|
||||
|
||||
document.getElementById("searchResults").innerHTML = resultSet;
|
||||
} else {
|
||||
document.getElementById("searchResults").innerHTML = '';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user