Skip to content

Commit b50caeb

Browse files
0m3rgelanivishal
authored andcommitted
Update sidebar.js
1 parent 9317c4f commit b50caeb

File tree

1 file changed

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

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,12 @@ define([
7777
confirm: function () {
7878
self._removeItem($(event.currentTarget));
7979
},
80-
always: function (event) {
81-
event.stopImmediatePropagation();
80+
81+
/** @inheritdoc */
82+
always: function (e) {
83+
if (e && typeof e.stopImmediatePropagation === 'function') {
84+
e.stopImmediatePropagation();
85+
}
8286
}
8387
}
8488
});

0 commit comments

Comments
 (0)