From d47ca98fb3955b98b9ccf727c045d6d1aa3be0cd Mon Sep 17 00:00:00 2001 From: Ruben Carlo Benante Date: Fri, 10 Jul 2026 23:30:51 -0300 Subject: [PATCH] dim greyed "any but selected" text when disabled --- Asset/js/recoreco-modal.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Asset/js/recoreco-modal.js b/Asset/js/recoreco-modal.js index d699a1c..0cec9db 100644 --- a/Asset/js/recoreco-modal.js +++ b/Asset/js/recoreco-modal.js @@ -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