From f7af00c0d23de5de36083c89b60eddefdb024777 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 3 Nov 2024 21:21:35 +0100 Subject: restock form --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script.js') diff --git a/script.js b/script.js index 46f8961..1a494b8 100644 --- a/script.js +++ b/script.js @@ -3,7 +3,7 @@ document.addEventListener("keypress", ev => { if (!(document.activeElement instanceof HTMLInputElement)) { if (ev.code.startsWith("Digit")) - document.forms.buy_product.product.value += ev.code.substring(5) + document.forms.buy_product.pcode.value += ev.code.substring(5) if (ev.code == "Enter") document.forms.buy_product.submit() } -- cgit v1.2.3-70-g09d2