From b43b7be9d566534fac51e950fa9e9ac4aafe6a68 Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Sat, 8 Dec 2018 11:02:39 +0100 Subject: [PATCH] Fix two more typos --- js/PrefFilterTree.js | 2 +- js/PrefLabelTree.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/PrefFilterTree.js b/js/PrefFilterTree.js index 6c04e55df..6d06a0130 100644 --- a/js/PrefFilterTree.js +++ b/js/PrefFilterTree.js @@ -173,7 +173,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio Filters.addFilterAction(li, action); }, removeFilter: function () { - const msg = __("FRemove filter?"); + const msg = __("Remove filter?"); if (confirm(msg)) { this.hide(); diff --git a/js/PrefLabelTree.js b/js/PrefLabelTree.js index 8de08d30b..988e313b0 100644 --- a/js/PrefLabelTree.js +++ b/js/PrefLabelTree.js @@ -86,7 +86,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dijit/f const e = $("icon-label-" + id); if (e) { - if (fg) e.style.color = bg; + if (bg) e.style.color = bg; } const query = {