Compare commits

...

1 Commits

Author SHA1 Message Date
Richard Schreiber
73c10320f0 Presale: fix auto-unchecked button-checkboxes 2024-03-08 12:00:40 +01:00

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');
}
});
});