summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-09-09 08:58:21 +0100
committerAndrew Dolgov <[email protected]>2005-09-09 08:58:21 +0100
commit8add756ac1a575f249e0b0f077f867570c282748 (patch)
tree428338b377c735e5da89311cd00f713ef48be542 /viewfeed.js
parent8143ae1f2b61c6ad7255b090b47447d3680e22bf (diff)
hardcode minimum 30 minute rss refetch interval
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/viewfeed.js b/viewfeed.js
index 9d891ec66..4e9c7da50 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -114,12 +114,17 @@ function toggleMark(id, toggle) {
}
var vfeedctr = f_document.getElementById("FEEDCTR--1");
+ var vfeedr = f_document.getElementById("FEEDR--1");
if (vfeedu && vfeedctr) {
if ((+vfeedu.innerHTML) > 0) {
vfeedctr.className = "odd";
+ if (!vfeedr.className.match("Unread")) {
+ vfeedr.className = vfeedr.className + "Unread";
+ }
} else {
vfeedctr.className = "invisible";
+ vfeedr.className = vfeedr.className.replace("Unread", "");
}
}