Skip to content

Commit 89f0537

Browse files
committed
insertBefore is not needed - Removed
1 parent 6762ca8 commit 89f0537

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/paypal-button.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ PAYPAL.apps = PAYPAL.apps || {};
132132
} else {
133133
button = buildForm(data, type);
134134
}
135-
if (buttonId) {
136-
button.insertBefore(parent.firstChild, button.firstChild);
137-
}
138135
// Inject CSS
139136
injectCSS();
140137

0 commit comments

Comments
 (0)