Skip to content

Commit

Permalink
fix invisible captcha DOM removal
Browse files Browse the repository at this point in the history
  • Loading branch information
gergosimonyi committed Nov 15, 2024
1 parent cf5f88e commit ae0aec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/flow/stages/captcha/CaptchaStage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class CaptchaStage extends BaseStage<CaptchaChallenge, CaptchaChallengeRe
super.disconnectedCallback();
window.removeEventListener("message", this.messageCallback);
if (!this.challenge.interactive) {
document.removeChild(this.captchaDocumentContainer);
document.body.removeChild(this.captchaDocumentContainer);
}
}

Expand Down

0 comments on commit ae0aec4

Please sign in to comment.