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'); }