From cd1a123dcd5df9d23523c50af65ae4362d5eece7 Mon Sep 17 00:00:00 2001 From: Andrey Smakotin Date: Sun, 16 Nov 2025 19:52:27 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D1=87=D0=B8=D0=BD=D0=B8=D0=BB?= =?UTF-8?q?=D0=B8=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=83=20=D0=BA=D1=83?= =?UTF-8?q?=D1=80=D1=81=D0=BE=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- myproject/pos/static/pos/js/terminal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/myproject/pos/static/pos/js/terminal.js b/myproject/pos/static/pos/js/terminal.js index c4ece3a..5632dc1 100644 --- a/myproject/pos/static/pos/js/terminal.js +++ b/myproject/pos/static/pos/js/terminal.js @@ -194,7 +194,7 @@ function renderCart() { qtyInput.className = 'qty-input'; qtyInput.value = item.qty; qtyInput.min = 1; - qtyInput.oninput = (e) => { + qtyInput.onchange = (e) => { const newQty = parseInt(e.target.value) || 1; if (newQty <= 0) { removeFromCart(cartKey);