Skip to content

Commit 5847d9f

Browse files
committed
Fix static test issue 24491
1 parent 7005d99 commit 5847d9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ define([
1414
_create: function () {
1515
var items, i, reload;
1616

17-
$(this.options.emptyCartButton).on('click', $.proxy(function (event) {
17+
$(this.options.emptyCartButton).on('click', $.proxy(function () {
1818
$(this.options.emptyCartButton).attr('name', 'update_cart_action_temp');
1919
$(this.options.updateCartActionContainer)
2020
.attr('name', 'update_cart_action').attr('value', 'empty_cart');
21+
2122
if ($(this.options.emptyCartButton).parents('form').length > 0) {
2223
$(this.options.emptyCartButton).parents('form').submit();
2324
}

0 commit comments

Comments
 (0)