Trigger change event when using keyboard shortcut on custom checkbox
This commit is contained in:
@@ -666,6 +666,7 @@ define([
|
|||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
$(input).prop('checked', !$(input).is(':checked'));
|
$(input).prop('checked', !$(input).is(':checked'));
|
||||||
|
$(input).change();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,16 @@
|
|||||||
margin-bottom: 0;
|
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;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
[type="text"], button {
|
[type="text"], button {
|
||||||
|
|||||||
Reference in New Issue
Block a user