Skip to content

Commit 82b97d3

Browse files
committed
MAGETWO-48372: Billing Agreement popup doesn't appear on product page after clicking on Checkout with Express button
1 parent 74b5eb9 commit 82b97d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Paypal/view/frontend/web/js/in-context/billing-agreement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ define([
2727
if (this.options.invalidateOnCreate) {
2828
this.invalidate();
2929
}
30-
this.element.on('click', function () {
30+
$(this.options.cancelButtonSelector).on('click', function () {
3131
confirm({
3232
content: self.options.cancelMessage,
3333
actions: {

0 commit comments

Comments
 (0)