summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMichael Kuhn <[email protected]>2018-12-08 11:02:39 +0100
committerMichael Kuhn <[email protected]>2018-12-08 11:02:39 +0100
commitb43b7be9d566534fac51e950fa9e9ac4aafe6a68 (patch)
treeaf1730ff7d96ee879fcf94b6b76319bf03fd145e /js
parent27a23079dabb0513e854d4190890f2fde9f29bd8 (diff)
Fix two more typos
Diffstat (limited to 'js')
-rw-r--r--js/PrefFilterTree.js2
-rw-r--r--js/PrefLabelTree.js2
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 = {