Skip to content

Commit 8399f63

Browse files
authored
Update sidebar.js
1 parent e758b7f commit 8399f63

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ define([
9393

9494
/** @inheritdoc */
9595
always: function (e) {
96-
e.stopImmediatePropagation();
96+
if (e && typeof e.stopImmediatePropagation === 'function') {
97+
e.stopImmediatePropagation();
98+
}
9799
}
98100
}
99101
});

0 commit comments

Comments
 (0)