disable resetSearch() when query is blank
This commit is contained in:
parent
a8d28f48e8
commit
64c620ce46
|
@ -305,8 +305,10 @@ function timeout() {
|
|||
}
|
||||
|
||||
function resetSearch() {
|
||||
document.getElementById("searchbox").value = "";
|
||||
if (active_feed_id) {
|
||||
var searchbox = document.getElementById("searchbox")
|
||||
|
||||
if (searchbox.value != "" && active_feed_id) {
|
||||
searchbox.value = "";
|
||||
viewfeed(active_feed_id, 0, "");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue