From a0e41f41a491c4a8e5e737846edaf1a0b31d5367 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 16 Mar 2021 21:32:44 +0300 Subject: add svg loading indicators --- js/FeedTree.js | 4 ++-- js/common.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'js') 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"; -- cgit v1.2.3