mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 15:45:56 +00:00
add dropout effect when hiding read feeds
This commit is contained in:
@@ -1009,16 +1009,20 @@ function hideOrShowFeedsCategory(doc, node, hide, cat_node) {
|
||||
// debug(node.childNodes[i].id + " --> " + has_unread);
|
||||
|
||||
if (hide && !has_unread) {
|
||||
node.childNodes[i].style.display = "none";
|
||||
//node.childNodes[i].style.display = "none";
|
||||
Effect.DropOut(node.childNodes[i], {duration : 0.3});
|
||||
}
|
||||
|
||||
if (!hide) {
|
||||
node.childNodes[i].style.display = "list-item";
|
||||
//Effect.Appear(node.childNodes[i], {duration : 0.3});
|
||||
}
|
||||
|
||||
if (has_unread) {
|
||||
node.childNodes[i].style.display = "list-item";
|
||||
cat_unread++;
|
||||
//Effect.Appear(node.childNodes[i], {duration : 0.3});
|
||||
//Effect.Highlight(node.childNodes[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user