diff --git a/src/pretix/static/pretixpresale/js/ui/main.js b/src/pretix/static/pretixpresale/js/ui/main.js index 72204ba62..75292dae0 100644 --- a/src/pretix/static/pretixpresale/js/ui/main.js +++ b/src/pretix/static/pretixpresale/js/ui/main.js @@ -652,9 +652,10 @@ $(function () { // free-range price input auto-check checkbox $("[data-checked-onchange]").each(function() { - var checkbox = this; + var countInput = this; $("#" + this.getAttribute("data-checked-onchange")).on("change", function() { - checkbox.checked = true; + if (countInput.type === "checkbox") countInput.checked = true; + $(countInput).trigger("change") }); }); });