Trigger change event when using keyboard shortcut on custom checkbox

pull/1/head
yflory 7 years ago
parent 24dfaf766d
commit e21e9b9d9f

@ -666,6 +666,7 @@ define([
e.stopPropagation();
e.preventDefault();
$(input).prop('checked', !$(input).is(':checked'));
$(input).change();
}
});

@ -52,6 +52,16 @@
margin-bottom: 0;
}
}
label.noTitle {
display: inline-flex;
vertical-align: top;
& ~ .fa {
line-height: 24px;
height: 24px;
vertical-align: top;
margin-left: 10px;
}
}
margin-bottom: 20px;
}
[type="text"], button {

Loading…
Cancel
Save