if (getInitParam("hide_read_feeds") == 1) {
if (child.className != "feed") {
- alert(child.className);
+// alert(child.className);
return child.id.replace('FEEDR-', '');
}
} else {
if (e) {
if (!unread_only || (unread_only && e.className != "feed" &&
e.className.match("feed"))) {
- return e.id.replace("FEEDR-", "");
+ if (e.parentNode.parentNode && e.parentNode.parentNode.className
+ != "invisible") {
+ return e.id.replace("FEEDR-", "");
+ }
}
}
}
if (e) {
if (!unread_only || (unread_only && e.className != "feed" &&
e.className.match("feed"))) {
- return e.id.replace("FEEDR-", "");
+ if (e.parentNode.parentNode && e.parentNode.parentNode.className
+ != "invisible") {
+ return e.id.replace("FEEDR-", "");
+ }
}
}
}