mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-18 03:00:56 +01:00
Fixed toggable toggles
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
}
|
||||
|
||||
function linkToggle (element, toggleable) {
|
||||
element.onChange(function (value) {
|
||||
$(element).on('change', function (value) {
|
||||
toggleable.find('input').prop('checked', true);
|
||||
toggleable.siblings('label').css('opacity', 1);
|
||||
element.disabled(false);
|
||||
|
||||
Reference in New Issue
Block a user