From bd283c506d30e925fded6cc56ce6e2b347972c0a Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 10 Jan 2022 19:37:51 +0100 Subject: [PATCH] web/flows: remove node directly instead of using removeChild() Signed-off-by: Jens Langhammer --- web/src/flows/stages/identification/IdentificationStage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/flows/stages/identification/IdentificationStage.ts b/web/src/flows/stages/identification/IdentificationStage.ts index a383faba0..71684683f 100644 --- a/web/src/flows/stages/identification/IdentificationStage.ts +++ b/web/src/flows/stages/identification/IdentificationStage.ts @@ -150,7 +150,7 @@ export class IdentificationStage extends BaseStage< cleanup(): void { if (this.form) { - document.documentElement.removeChild(this.form); + this.form.remove(); } }