summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-14 16:01:04 +0300
committerAndrew Dolgov <[email protected]>2010-11-14 16:01:04 +0300
commitb1b3344b8245c1ea026fe41c041d2c345c8f586f (patch)
tree483e3e0bddd7593b18bae739ffd51d2fae5dfaac /feedlist.js
parentca8e3d75f4ef8feeace4a39d8a42c9f9c13f13e4 (diff)
hideOrShowFeedsCategory: do not hide active feeds, hide errors
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/feedlist.js b/feedlist.js
index c252a6ada..54298e952 100644
--- a/feedlist.js
+++ b/feedlist.js
@@ -960,9 +960,9 @@ function hideOrShowFeedsCategory(cat_id, hide) {
nodes.each(function(node) {
var is_unread = node.hasClassName("Unread") ||
+ node.hasClassName("Selected") ||
(node.hasClassName("virt") &&
- getInitParam("hide_read_shows_special")) ||
- node.hasClassName("error");
+ getInitParam("hide_read_shows_special"));
if (hide && !is_unread) {
Effect.Fade(node, {duration : 0.3,
@@ -975,7 +975,7 @@ function hideOrShowFeedsCategory(cat_id, hide) {
});
if (cat_node) {
- if (hide && cat_unread == 0) {
+ if (hide && cat_unread == 0 && !cat_node.hasClassName("Selected")) {
Effect.Fade(cat_node, {duration : 0.3,
queue: { position: 'end', scope: 'CFADE-' + cat_node.id, limit: 1 }});
} else {