From 9c27b81e4bedb489aeacec0f9bde8060021cb56d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simonyi=20Gerg=C5=91?= <28359278+gergosimonyi@users.noreply.github.com> Date: Fri, 15 Nov 2024 18:49:57 +0100 Subject: [PATCH] web/flows: fix invisible captcha call (#12048) * fix invisible captcha call * fix invisible captcha DOM removal --- web/src/flow/stages/captcha/CaptchaStage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/flow/stages/captcha/CaptchaStage.ts b/web/src/flow/stages/captcha/CaptchaStage.ts index 7e19e95ef4..24a19a6dab 100644 --- a/web/src/flow/stages/captcha/CaptchaStage.ts +++ b/web/src/flow/stages/captcha/CaptchaStage.ts @@ -85,7 +85,7 @@ export class CaptchaStage extends BaseStage el.remove()); document.head.appendChild(this.scriptElement); if (!this.challenge.interactive) { - document.appendChild(this.captchaDocumentContainer); + document.body.appendChild(this.captchaDocumentContainer); } } }