]> git.wh0rd.org - tt-rss.git/blobdiff - js/FeedTree.js
set error report url to https
[tt-rss.git] / js / FeedTree.js
index 320f9926418a5196f2022be991fdb09f03664a0f..336f2b5f04ba12b9acf80c3db7bd0ef12d0cfdc0 100644 (file)
@@ -238,8 +238,10 @@ require(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"]
                                        ctr = node.counterNode;
                                        ctr.innerHTML = item.unread > 0 ? item.unread : item.auxcounter;
                                        item.unread > 0 || item.auxcounter > 0 ?
-                                               Effect.Appear(ctr, {duration : 0.3,
-                                                       queue: { position: 'end', scope: 'CAPPEAR-' + item.id, limit: 1 }}) :
+                                               item.unread > 0 ?
+                                                       Effect.Appear(ctr, {duration : 0.3,
+                                                               queue: { position: 'end', scope: 'CAPPEAR-' + item.id, limit: 1 }}) :
+                                                       Element.show(ctr) :
                                                Element.hide(ctr);
 
                                        item.unread == 0 && item.auxcounter > 0 ? ctr.addClassName("aux") : ctr.removeClassName("aux");
@@ -386,6 +388,7 @@ require(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"]
                                } else {
                                        var icon = dojo.doc.createElement('img');
                                        icon.src = src;
+                                       icon.className = 'loadingExpando';
                                        domConstruct.place(icon, treeNode.expandoNode, 'only');
                                        return true;
                                }