From: Andrew Dolgov Date: Thu, 22 Nov 2007 07:36:26 +0000 (+0100) Subject: update cache when viewing unread articles (2) X-Git-Tag: 1.2.18~17 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4c009c783caeee59f26de5b458ab87bf4c3c64b1;p=tt-rss.git update cache when viewing unread articles (2) --- diff --git a/viewfeed.js b/viewfeed.js index 4f40f8fb..c2a07c48 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -249,7 +249,6 @@ function showArticleInHeadlines(id) { crow.className = crow.className.replace("Unread", ""); selectTableRowsByIdPrefix('headlinesList', 'RROW-', 'RCHK-', false); - markHeadline(id); var upd_img_pic = document.getElementById("FUPDPIC-" + id); @@ -280,6 +279,8 @@ function showArticleInHeadlines(id) { } + markHeadline(id); + } catch (e) { exception_error("showArticleInHeadlines", e); }