WM-12: bring back opacity for admin

This commit is contained in:
Oliver Zander 2025-11-10 12:17:46 +01:00 committed by Tobias Herre
parent 771819af0e
commit ba56ca21b4
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@
otherInput.prop('disabled', !checked); otherInput.prop('disabled', !checked);
otherInput.prop('required', checked); otherInput.prop('required', checked);
otherLabel.toggleClass('required', checked); otherLabel.toggleClass('required', checked);
otherLabel.css('opacity', checked ? 1 : 0.3);
otherTableRow.css('visibility', checked ? 'visible' : 'collapse'); otherTableRow.css('visibility', checked ? 'visible' : 'collapse');
if (checked) { if (checked) {