mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix space bar shortcut to dselect a radio input
This commit is contained in:
parent
65585f6ce8
commit
be7b184d97
@ -1007,6 +1007,7 @@ define([
|
||||
if (e.which === 32) {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
if ($(input).is(':checked')) { return; }
|
||||
$(input).prop('checked', !$(input).is(':checked'));
|
||||
$(input).change();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user