mirror of
https://github.com/pretix/pretix.git
synced 2026-05-17 17:14:04 +00:00
fix previousValue calc
This commit is contained in:
@@ -139,7 +139,7 @@ var form_handlers = function (el) {
|
|||||||
if (currentValue && currentValue < itemOrderMin) {
|
if (currentValue && currentValue < itemOrderMin) {
|
||||||
this.value = this.previousValue > currentValue ? 0 : itemOrderMin;
|
this.value = this.previousValue > currentValue ? 0 : itemOrderMin;
|
||||||
}
|
}
|
||||||
this.previousValue = currentValue;
|
this.previousValue = this.value;
|
||||||
});
|
});
|
||||||
|
|
||||||
el.find("script[data-replace-with-qr]").each(function () {
|
el.find("script[data-replace-with-qr]").each(function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user