From 47c350f29b61da47cf490b02f5d5eb2ff91b1ae7 Mon Sep 17 00:00:00 2001 From: kkrzowski Date: Thu, 20 Nov 2025 12:28:44 +0100 Subject: [PATCH] update --- index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index a61691a..6225aae 100644 --- a/index.js +++ b/index.js @@ -5,15 +5,14 @@ class IdmQuantityPicker{ console.error("IdmQuantityPicker: container not found."); return; } - + this.container=container; const input = this.container.querySelector(".idm-quantity-picker__input"); if(!input){ console.error("IdmQuantityPicker: input not found"); return; } - - this.container=container; this.input = input; + this.min = min; this.max = max; this._value = Number.parseInt(input.value); @@ -44,7 +43,6 @@ class IdmQuantityPicker{ } handleMinus(){ - console.log("minus"); this.value--; }