dim greyed "any but selected" text when disabled
This commit is contained in:
@@ -75,7 +75,13 @@
|
||||
trigger.options[i].disabled = isTarget;
|
||||
}
|
||||
if (trigger.value === target.value) { trigger.value = "any"; }
|
||||
if (invert) { invert.disabled = (trigger.value === "any"); }
|
||||
|
||||
if (invert) {
|
||||
var invertDisabled = (trigger.value === "any");
|
||||
invert.disabled = invertDisabled;
|
||||
var invertLabel = invert.closest("label");
|
||||
if (invertLabel) { invertLabel.style.opacity = invertDisabled ? "0.5" : ""; }
|
||||
}
|
||||
}
|
||||
|
||||
// Move-mode makes copies moot, so grey out "Link copies to the template" while it is checked
|
||||
|
||||
Reference in New Issue
Block a user