summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-10-18 03:11:37 +0100
committerAndrew Dolgov <[email protected]>2007-10-18 03:11:37 +0100
commitf03ce70e74608203fd9e4a335df1c6513bc76d32 (patch)
tree0b9ae544fbd58e003218f4204ed5eb918f262bbf /functions.js
parent76283a4c15a762fe307ab98bb0bfb424f575fd84 (diff)
limit fade effect scope when hiding feeds/categories
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/functions.js b/functions.js
index 47374ea4e..abbe62326 100644
--- a/functions.js
+++ b/functions.js
@@ -934,7 +934,9 @@ function hideOrShowFeedsCategory(doc, node, hide, cat_node) {
if (hide && !has_unread) {
//node.childNodes[i].style.display = "none";
- Effect.Fade(node.childNodes[i], {duration : 0.3});
+ var id = node.childNodes[i].id;
+ Effect.Fade(node.childNodes[i], {duration : 0.3,
+ queue: { position: 'end', scope: 'FFADE-' + id, limit: 1 }});
}
if (!hide) {
@@ -960,7 +962,8 @@ function hideOrShowFeedsCategory(doc, node, hide, cat_node) {
}
if (hide) {
//cat_node.style.display = "none";
- Effect.Fade(cat_node, {duration : 0.3});
+ Effect.Fade(cat_node, {duration : 0.3,
+ queue: { position: 'end', scope: 'CFADE-' + i, limit: 1 }});
} else {
cat_node.style.display = "list-item";
}