Commit 1495ab98 authored by Artem's avatar Artem

correct variable in update cart elem

parent c789a6b1
......@@ -64,7 +64,7 @@ class Cart {
const productId = qtyInputElem.dataset.productId;
if (!changedQty || (changedQty.indexOf('e') + 1) || changedQty === '0') {
event.target.value = qtyInputElem.defaultValue;
qtyInputElem.value = qtyInputElem.defaultValue;
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment