Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 0fdc0a8

Browse files
0m3rmageprince
authored andcommitted
Update sidebar.js
1 parent 0c2fa6f commit 0fdc0a8

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
@@ -92,7 +92,9 @@ define([
9292

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

0 commit comments

Comments
 (0)