Skip to content

Commit 70e82c3

Browse files
committed
MAGETWO-69210: [Google Tag Manager] Ajax "Add to Cart" / "Remove from Cart" do not fire any events
1 parent ca6cf09 commit 70e82c3

File tree

1 file changed

+2
-3
lines changed
  • app/code/Magento/Checkout/view/frontend/web/js

1 file changed

+2
-3
lines changed

app/code/Magento/Checkout/view/frontend/web/js/sidebar.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,10 @@ define([
230230
/**
231231
* Update content after item remove
232232
*
233-
* @param elem
234-
* @param response
233+
* @param {Object} elem
235234
* @private
236235
*/
237-
_removeItemAfter: function (elem, response) {
236+
_removeItemAfter: function (elem) {
238237
var productData = customerData.get('cart')().items.find(function (item) {
239238
return Number(elem.data('cart-item')) === Number(item['item_id']);
240239
});

0 commit comments

Comments
 (0)