search: fix redundant results after clearing searchbox

This commit is contained in:
Aditya Telange 2020-12-06 19:44:36 +05:30
parent 4a4408573e
commit bb2717a3b9
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -49,6 +49,8 @@ document.getElementById("searchInput").onkeyup = function (e) {
}
document.getElementById("searchResults").innerHTML = resultSet;
} else {
document.getElementById("searchResults").innerHTML = '';
}
}