mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:35:55 +00:00
disable resetSearch() when query is blank
This commit is contained in:
@@ -305,8 +305,10 @@ function timeout() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function resetSearch() {
|
function resetSearch() {
|
||||||
document.getElementById("searchbox").value = "";
|
var searchbox = document.getElementById("searchbox")
|
||||||
if (active_feed_id) {
|
|
||||||
|
if (searchbox.value != "" && active_feed_id) {
|
||||||
|
searchbox.value = "";
|
||||||
viewfeed(active_feed_id, 0, "");
|
viewfeed(active_feed_id, 0, "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user