diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/ui.js | 2 |
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); } |