Skip to content

Commit c9fe800

Browse files
author
Jeff Harrell
committed
Updating forms to break frames when clicking the buttons
1 parent 3a60f15 commit c9fe800

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/paypal-button.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ PAYPAL.apps = PAYPAL.apps || {};
131131
form.method = 'post';
132132
form.action = paypalURL;
133133
form.className = 'paypal-button';
134+
form.target = '_top';
134135

135136
for (key in items) {
136137
item = items[key];

0 commit comments

Comments
 (0)