Skip to content

Commit

Permalink
feat(payment): PAYPAL-3453 deleted the line with deleting an element …
Browse files Browse the repository at this point in the history
…from the DOM
  • Loading branch information
bc-nick committed Feb 1, 2024
1 parent 4c70907 commit c9d55d2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/form-poster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export default class FormPoster {
// In order to submit the form, the form must be attached to DOM.
document.body.appendChild(form);
form.submit();
document.body.removeChild(form);
}

private _prependHost(url: string): string {
Expand Down

0 comments on commit c9d55d2

Please sign in to comment.