summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorhackademix2019-12-25 23:09:56 +0100
committerhackademix2019-12-25 23:09:56 +0100
commite2f7de8fea002f15c7cc66ea0d3b565919ec4de3 (patch)
tree1a949668ac20d81e8aca3281a78bdbcc06a845a9 /src/ui
parent98aff587716024deff8ba5a6de6247ac44063611 (diff)
downloadnoscript-e2f7de8fea002f15c7cc66ea0d3b565919ec4de3.tar.gz
noscript-e2f7de8fea002f15c7cc66ea0d3b565919ec4de3.tar.xz
noscript-e2f7de8fea002f15c7cc66ea0d3b565919ec4de3.zip
Added "ping" (beacon/ping) capability control.
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ui.js b/src/ui/ui.js
index 7025ce6..dafba4f 100644
--- a/src/ui/ui.js
+++ b/src/ui/ui.js
@@ -304,7 +304,7 @@ var UI = (() => {
capInput.id = `capability-${capability}-${idSuffix}`
capLabel.setAttribute("for", capInput.id);
capInput.value = capability;
- capInput.title = capLabel.textContent = _(`cap_${capability}`);
+ capInput.title = capLabel.textContent = _(`cap_${capability}`) || capability;
let clone = capParent.appendChild(cap.cloneNode(true));
clone.classList.add(capability);
}