summaryrefslogtreecommitdiff
path: root/js/PrefLabelTree.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/PrefLabelTree.js')
-rw-r--r--js/PrefLabelTree.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/PrefLabelTree.js b/js/PrefLabelTree.js
index a4540deec..f5d71020f 100644
--- a/js/PrefLabelTree.js
+++ b/js/PrefLabelTree.js
@@ -82,7 +82,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dijit/f
color = bg;
}
- const e = App.byId(`icon-label-${id}`);
+ const e = document.getElementById(`icon-label-${id}`);
if (e) {
if (bg) e.style.color = bg;