From 17cad9244e6f28d630503e4374e97aef7384cf3c Mon Sep 17 00:00:00 2001 From: briskt <3172830+briskt@users.noreply.github.com> Date: Mon, 2 Dec 2024 23:16:36 +0800 Subject: [PATCH] fix bug - wrong type of brace for js function call --- .../material/themes/material/mfa/prompt-for-mfa-webauthn.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig b/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig index 6ea93dc..5d2a3ca 100644 --- a/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig +++ b/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig @@ -65,7 +65,7 @@ } document.getElementById('showBtn').addEventListener('click', verifyWebAuthn); - document.querySelector('body').addEventListener{'load', verifyWebAuthn}; + document.querySelector('body').addEventListener('load', verifyWebAuthn); });