diff --git a/modules/material/themes/material/default/selectidp-links.twig b/modules/material/themes/material/default/selectidp-links.twig index 9381e88e..bf540b13 100644 --- a/modules/material/themes/material/default/selectidp-links.twig +++ b/modules/material/themes/material/default/selectidp-links.twig @@ -38,7 +38,7 @@ {% if analytics_tracking_id is not empty %} gtag('event', 'IdP', { 'event_category': 'hub', - 'event_label': 'choice', + 'event_label': 'choice-disabled', 'value': id }); {% endif %} diff --git a/modules/material/themes/material/mfa/new-backup-codes.twig b/modules/material/themes/material/mfa/new-backup-codes.twig index a9ab1490..1609b3e6 100644 --- a/modules/material/themes/material/mfa/new-backup-codes.twig +++ b/modules/material/themes/material/mfa/new-backup-codes.twig @@ -56,7 +56,7 @@ document.getElementById('copyBtn').addEventListener('click', function() { copyCodesToClipboard(this); }); - document.querySelector('input[type="checkbox"]').addEventListener('change', function(e) { + document.getElementById('checkbox').addEventListener('change', function(e) { contBtn = document.querySelector('button[name="continue"]'); contBtn.disabled = !e.checked; }); @@ -159,7 +159,7 @@
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 42ef14b8..6ea93dc2 100644 --- a/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig +++ b/modules/material/themes/material/mfa/prompt-for-mfa-webauthn.twig @@ -64,7 +64,7 @@ return input; } - document.querySelector('.mdl-button.mdl-color-text--red').addEventListener('click', verifyWebAuthn); + document.getElementById('showBtn').addEventListener('click', verifyWebAuthn); document.querySelector('body').addEventListener{'load', verifyWebAuthn}; }); @@ -121,6 +121,7 @@