mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Trigger change event when using keyboard shortcut on custom checkbox
This commit is contained in:
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…
Reference in New Issue
Block a user