From 0e5e2193ed90b021a22ef706ea9812503cb10b82 Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Thu, 29 Jan 2026 14:19:09 +0100 Subject: [PATCH] Fix auto-quantity change on free-price input * Fix auto-quantity change on free-price input * do not use one() --- src/pretix/static/pretixpresale/js/ui/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/static/pretixpresale/js/ui/main.js b/src/pretix/static/pretixpresale/js/ui/main.js index 8dd6f3c54f..f4f66f70c4 100644 --- a/src/pretix/static/pretixpresale/js/ui/main.js +++ b/src/pretix/static/pretixpresale/js/ui/main.js @@ -716,7 +716,7 @@ $(function () { // free-range price input auto-check checkbox/set count-input to 1 if 0 $("[data-checked-onchange]").each(function() { var countInput = this; - $("#" + this.getAttribute("data-checked-onchange")).on("change", function() { + $("#" + this.getAttribute("data-checked-onchange")).on("input", function() { if (countInput.type === "checkbox") { if (countInput.checked) return; countInput.checked = true;