Fix space bar shortcut to dselect a radio input
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user