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