(buttons)
| 1 | function changeLoginButtonText(buttons) { |
| 2 | for (var i = 0; i < buttons.length; i++) { |
| 3 | if (buttons[i].innerText === 'Continue with Azure-ad-b2c') { |
| 4 | buttons[i].innerHTML = '<img class="MuiButton-startIcon MuiButton-iconSizeMedium css-6xugel MuiSvgIcon-root login-logo" ' + |
| 5 | 'src="../public/b2c_logo.png" ' + |
| 6 | 'alt="Log in on Client SSO" ' + |
| 7 | 'role="presentation" >' + |
| 8 | 'Login with Client Portal'; |
| 9 | } |
| 10 | } |
| 11 | } |
| 12 | |
| 13 | function mutationObserverCallback(mutationsList, observer) { |
| 14 | var buttons = document.querySelectorAll('button'); |
no outgoing calls
no test coverage detected