fix previousValue calc

This commit is contained in:
Richard Schreiber
2023-06-03 06:52:15 +02:00
parent 73997529c1
commit 2c5e59b557

View File

@@ -139,7 +139,7 @@ var form_handlers = function (el) {
if (currentValue && currentValue < itemOrderMin) {
this.value = this.previousValue > currentValue ? 0 : itemOrderMin;
}
this.previousValue = currentValue;
this.previousValue = this.value;
});
el.find("script[data-replace-with-qr]").each(function () {