]> git.wh0rd.org Git - tt-rss.git/commitdiff
hideOrShowFeedsCategory: fix bug when scheduling category hide events (closes #176)
authorAndrew Dolgov <fox@bah.spb.su>
Wed, 21 Nov 2007 05:00:08 +0000 (06:00 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Wed, 21 Nov 2007 05:00:08 +0000 (06:00 +0100)
functions.js

index 74c4e9a454e0a8de984dcddac873d6f304bf5dbc..8eb7cc60fcc4c51bba05d06f6265d111d6d4a7d1 100644 (file)
@@ -968,7 +968,7 @@ function hideOrShowFeedsCategory(doc, node, hide, cat_node) {
                if (hide) {
                        //cat_node.style.display = "none";
                        Effect.Fade(cat_node, {duration : 0.3, 
-                               queue: { position: 'end', scope: 'CFADE-' + i, limit: 1 }});
+                               queue: { position: 'end', scope: 'CFADE-' + node.id, limit: 1 }});
                } else {
                        cat_node.style.display = "list-item";
                }