Skip to content

Commit

Permalink
Update sidebar.js
Browse files Browse the repository at this point in the history
  • Loading branch information
0m3r authored and gelanivishal committed Jul 28, 2018
1 parent 9317c4f commit b50caeb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/code/Magento/Checkout/view/frontend/web/js/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,12 @@ define([
confirm: function () {
self._removeItem($(event.currentTarget));
},
always: function (event) {
event.stopImmediatePropagation();

/** @inheritdoc */
always: function (e) {
if (e && typeof e.stopImmediatePropagation === 'function') {
e.stopImmediatePropagation();
}
}
}
});
Expand Down

0 comments on commit b50caeb

Please sign in to comment.