1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:46:00 +00:00

don't use css-defined .svg files because firefox

This commit is contained in:
Andrew Dolgov
2021-03-24 16:33:03 +03:00
parent 19c277391e
commit ceb8179ccc
8 changed files with 6 additions and 48 deletions

View File

@@ -352,10 +352,14 @@ define(["dojo/_base/declare", "dojo/dom-construct", "dojo/_base/array", "dojo/co
if (treeNode) {
treeNode = treeNode[0];
if (show)
if (show) {
treeNode.loadingNode.addClassName("visible");
else
treeNode.loadingNode.setAttribute("src",
is_cat ? App.getInitParam("icon_three_dots") : App.getInitParam("icon_oval"));
} else {
treeNode.loadingNode.removeClassName("visible");
treeNode.loadingNode.setAttribute("src", App.getInitParam("icon_blank"))
}
return true
}