mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +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;
|
document.getElementById("searchResults").innerHTML = resultSet;
|
||||||
|
} else {
|
||||||
|
document.getElementById("searchResults").innerHTML = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user