1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 21:11:29 +00:00

fix reloading of current feed if unread counter changed on scheduled refetch

This commit is contained in:
Andrew Dolgov
2006-09-28 13:49:11 +01:00
parent 33b8cab44f
commit 5b06472138

View File

@@ -541,8 +541,10 @@ function parse_counters(reply, scheduled_call) {
if (feedctr && feedu && feedr) { if (feedctr && feedu && feedr) {
if (feedu.innerHTML != ctr && id == getActiveFeedId() && scheduled_call) { if (feedu.innerHTML != ctr && id == getActiveFeedId() && scheduled_call) {
var hf = title_obj.parent.frames["headlines-frame"]; // var hf = title_obj.parent.frames["headlines-frame"];
hf.location.reload(true); // hf.location.reload(true);
viewCurrentFeed();
} }
feedu.innerHTML = ctr; feedu.innerHTML = ctr;