diff --git a/app/code/Magento/Checkout/view/frontend/web/js/shopping-cart.js b/app/code/Magento/Checkout/view/frontend/web/js/shopping-cart.js index b353bc911872c..97dff2f6fd47a 100644 --- a/app/code/Magento/Checkout/view/frontend/web/js/shopping-cart.js +++ b/app/code/Magento/Checkout/view/frontend/web/js/shopping-cart.js @@ -17,7 +17,7 @@ define([ var items, i, reload; $(this.options.emptyCartButton).on('click', $.proxy(function () { - this._clearCartConfirmation(); + this._confirmClearCart(); }, this)); items = $.find('[data-role="cart-item-qty"]'); @@ -63,7 +63,7 @@ define([ * Display confirmation modal for clearing the cart * @private */ - _clearCartConfirmation: function () { + _confirmClearCart: function () { var self = this; confirm({