1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 21:35:56 +00:00

remove previous counter hacks; force request counters when there's no

unread stuff left in current feed (e.g. finished reading)
This commit is contained in:
Andrew Dolgov
2013-02-27 16:57:26 +04:00
parent 77a3e1233f
commit 0a7b15207e
3 changed files with 5 additions and 5 deletions

View File

@@ -325,7 +325,8 @@ function article_callback2(transport, id) {
Element.show(dijit.byId("net-alert").domNode);
}
request_counters();
var unread_in_buffer = $$("#headlines-frame > div[id*=RROW][class*=Unread]").length
request_counters(unread_in_buffer == 0);
headlines_scroll_handler($("headlines-frame"));
@@ -1550,7 +1551,8 @@ function cdmClicked(event, id) {
openArticleInNewWindow(id);
}
request_counters();
var unread_in_buffer = $$("#headlines-frame > div[id*=RROW][class*=Unread]").length
request_counters(unread_in_buffer == 0);
} catch (e) {
exception_error("cdmClicked");