summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-12 17:41:32 +0300
committerAndrew Dolgov <[email protected]>2010-11-12 17:41:32 +0300
commit4169bb67e826671868b29b72ab4eb573517d062a (patch)
tree6975a25c3aa1824596634e6ae0aac7d847f3646d /tt-rss.js
parent817dcf1bf81d6a6e62c22b169625066fa1fa9db1 (diff)
misc code cleanup
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/tt-rss.js b/tt-rss.js
index abd0f673e..e83841232 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -215,18 +215,9 @@ function timeout() {
setTimeout("timeout()", 3000);
}
-function resetSearch() {
- var searchbox = $("searchbox")
-
- if (searchbox.value != "" && getActiveFeedId()) {
- searchbox.value = "";
- viewfeed(getActiveFeedId(), "");
- }
-}
-
function search() {
closeInfoBox();
- viewCurrentFeed(0, "");
+ viewCurrentFeed();
}
function updateTitle() {