summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-16 21:32:44 +0300
committerAndrew Dolgov <[email protected]>2021-03-16 21:32:44 +0300
commita0e41f41a491c4a8e5e737846edaf1a0b31d5367 (patch)
tree288687cbf3f714bcf60a0293013c6baf9c72b9b3 /js
parent7ec8a6cad0878fd16fc63c9a11d9c7e3ca18a88c (diff)
add svg loading indicators
Diffstat (limited to 'js')
-rwxr-xr-xjs/FeedTree.js4
-rwxr-xr-xjs/common.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/js/FeedTree.js b/js/FeedTree.js
index 94188bae9..2ad9500fe 100755
--- a/js/FeedTree.js
+++ b/js/FeedTree.js
@@ -138,12 +138,12 @@ define(["dojo/_base/declare", "dojo/dom-construct", "dojo/_base/array", "dojo/co
tnode.rowNode.setAttribute('data-feed-id', bare_id);
tnode.rowNode.setAttribute('data-is-cat', "true");
- tnode.loadingNode = dojo.create('img', { className: 'loadingNode', src: 'images/indicator_tiny.gif'});
+ tnode.loadingNode = dojo.create('img', { className: 'loadingNode', src: App.getInitParam('icon_three_dots')});
domConstruct.place(tnode.loadingNode, tnode.labelNode, 'after');
}
if (id.match("FEED:")) {
- tnode.loadingNode = dojo.create('img', { className: 'loadingNode', src: 'images/indicator_white.gif'});
+ tnode.loadingNode = dojo.create('img', { className: 'loadingNode', src: App.getInitParam('icon_oval')});
domConstruct.place(tnode.loadingNode, tnode.expandoNode, 'only');
}
diff --git a/js/common.js b/js/common.js
index 1f8318862..1299a0c64 100755
--- a/js/common.js
+++ b/js/common.js
@@ -432,7 +432,7 @@ const Notify = {
break;
case this.KIND_PROGRESS:
notify.addClassName("notify_progress");
- icon = App.getInitParam("icon_indicator_white")
+ icon = App.getInitParam("icon_oval")
break;
default:
icon = "notifications";