Presale: fix auto-unchecked button-checkboxes (#3968)

This commit is contained in:
Richard Schreiber
2024-03-08 19:33:06 +01:00
committed by GitHub
parent a3ce3b9af3
commit 3e2c12cdb0

View File

@@ -153,7 +153,7 @@ var form_handlers = function (el) {
var $others = $("input[name^=" + $(this).attr("data-exclusive-prefix") + "]:not([name=" + $(this).attr("name") + "])");
$(this).on('click change', function () {
if ($(this).prop('checked')) {
$others.prop('checked', false);
$others.prop('checked', false).trigger('change');
}
});
});