mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-17 18:50:57 +01:00
Fix opacity issue when clicking the text label beside the checkbox
This commit is contained in:
@@ -484,6 +484,9 @@ $(function () {
|
||||
input.prop('checked', on);
|
||||
input.prop('value', on ? 1 : 0);
|
||||
$(this).css('opacity', on ? 1 : 0.7);
|
||||
input.siblings('label').css('opacity', on ? 1 : 0.7);
|
||||
$(this).parents('.form-label').siblings('.form-data').css('opacity', on ? 1 : 0.7);
|
||||
|
||||
});
|
||||
|
||||
// Themes Switcher Warning
|
||||
|
||||
Reference in New Issue
Block a user