Skip to content

Commit 5e7bf93

Browse files
ENGCOM-4400: Fix: Cart is emptied when enter is pressed after changing product quantity #21509
- Merge Pull Request #21509 from lfluvisotto/magento2:2.3-develop-issue-21499 - Merged commits: 1. 539766f 2. fd3344b
2 parents 46eb221 + fd3344b commit 5e7bf93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/shopping-cart.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ define([
1515
var items, i, reload;
1616

1717
$(this.options.emptyCartButton).on('click', $.proxy(function (event) {
18-
if (event.detail == 0) {
18+
if (event.detail === 0) {
1919
return;
2020
}
2121

0 commit comments

Comments
 (0)