]> git.wh0rd.org Git - tt-rss.git/commitdiff
update cache when viewing unread articles (2)
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 22 Nov 2007 07:36:26 +0000 (08:36 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 22 Nov 2007 07:36:26 +0000 (08:36 +0100)
viewfeed.js

index 4f40f8fb3757bf3281dfa2ee4a8ff4fb303739c9..c2a07c487dae858362ded3554664450fb11b83f5 100644 (file)
@@ -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);
        }