Skip to content

Commit

Permalink
Merge pull request #642 from boherm/#36456-fix-qte-input-behaviour-in…
Browse files Browse the repository at this point in the history
…-product-page
  • Loading branch information
boherm authored Jul 1, 2024
2 parents 3f34ea9 + 57438c6 commit 55999f5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/js/product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ export default () => {
};

// Attach event listener for input changes
quantityInput.addEventListener('input', triggerEmit);
quantityInput.addEventListener('keyup', triggerEmit);
quantityInput.addEventListener('keydown', triggerEmit);
quantityInput.addEventListener('change', triggerEmit);

// Attach event listener for increment / decrement button click
incrementButton.addEventListener('click', triggerEmit);
Expand Down

0 comments on commit 55999f5

Please sign in to comment.