diff --git a/public/helpbuild/theme.js b/public/helpbuild/theme.js index 796c305..895f18d 100644 --- a/public/helpbuild/theme.js +++ b/public/helpbuild/theme.js @@ -17,5 +17,15 @@ const swapLinkedIn = () => { // Change the text of the span span.textContent = 'Sign in with LinkedIn'; } +const renameGoogle = () => { + var anchor = document.getElementById('social-google'); + if (!anchor) return; + // Get the span element + var span = anchor.getElementsByClassName('kc-social-provider-name')[0]; + + // Change the text of the span + span.textContent = 'Sign in with Google'; +} swapLinkedIn() +renameGoogle()