Localized reset button.
This commit is contained in:
parent
2c4739fca9
commit
54e38023d1
|
@ -615,6 +615,7 @@ var UI = (() => {
|
||||||
customizer.classList.toggle("contextual", contextual);
|
customizer.classList.toggle("contextual", contextual);
|
||||||
let [ctxLabel, ctxSelect, ctxReset] = customizer.capsContext.querySelectorAll("label, select, .reset");
|
let [ctxLabel, ctxSelect, ctxReset] = customizer.capsContext.querySelectorAll("label, select, .reset");
|
||||||
ctxLabel.textContent = _(contextual ? "capsContext" : "caps");
|
ctxLabel.textContent = _(contextual ? "capsContext" : "caps");
|
||||||
|
ctxReset.textContent = _("Reset");
|
||||||
if (contextual) {
|
if (contextual) {
|
||||||
// contextual settings
|
// contextual settings
|
||||||
let entry = (value, label = value) => {
|
let entry = (value, label = value) => {
|
||||||
|
|
Loading…
Reference in New Issue