From de3da9a34e5fd8e4e6df23a93599c5d2d10413b1 Mon Sep 17 00:00:00 2001 From: "Matt H." Date: Mon, 2 Dec 2024 11:32:05 -0500 Subject: [PATCH] Use "Try again" button's ID during `offerRetry()`, too --- .../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 6c04006..0138ca6 100644 --- a/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig +++ b/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig @@ -37,7 +37,7 @@ } function offerRetry() { - const retryButton = document.querySelector('.mdl-button.mdl-color-text--red'); + const retryButton = document.getElementById('retryButton'); retryButton.classList.remove('hide'); }