Trigger change event when using keyboard shortcut on custom checkbox

This commit is contained in:
yflory
2018-04-17 18:48:06 +02:00
parent 24dfaf766d
commit e21e9b9d9f
2 changed files with 11 additions and 0 deletions

View File

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