summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-08-21 15:24:18 +0400
committerAndrew Dolgov <[email protected]>2009-08-21 15:24:18 +0400
commit784ac51f88fec800f89879f020fd7f1ef851a3d2 (patch)
treed75b3711ce04ca098831758b40425a709e5bc0d7 /viewfeed.js
parent9897ca677224d3de7f8f155dd11dd98acf99bfa3 (diff)
add separate indicator for fresh articles
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/viewfeed.js b/viewfeed.js
index 7e53467dc..429412ba4 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -320,7 +320,9 @@ function showArticleInHeadlines(id) {
//
}
- if (upd_img_pic && upd_img_pic.src.match("updated.png")) {
+ if (upd_img_pic && (upd_img_pic.src.match("updated.png") ||
+ upd_img_pic.src.match("fresh_sign.png"))) {
+
upd_img_pic.src = "images/blank_icon.gif";
cache_invalidate(cache_prefix + getActiveFeedId());