web/flows: remove node directly instead of using removeChild()

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-01-10 19:37:51 +01:00
parent ef564e5f1a
commit bd283c506d
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ export class IdentificationStage extends BaseStage<
cleanup(): void {
if (this.form) {
document.documentElement.removeChild(this.form);
this.form.remove();
}
}