3
0
mike 2cacee7ce7
All checks were successful
continuous-integration/drone/push Build is passing
simplified linkdin openid fix
2024-02-12 19:41:30 +00:00

22 lines
694 B
JavaScript

const privacyPolicy = document.getElementById('privacy-policy');
if (privacyPolicy) {
privacyPolicy.innerHTML = '<span>By signing up you agree to the Helpbuild <a href="https://helpbuild.co/privacy/">Privacy Policy</a></span>'
}
const swapLinkedIn = () => {
var anchor = document.getElementById('social-linkedin-openid-connect');
if (anchor) {
anchor.insertAdjacentHTML('afterbegin', '<i class="kc-social-provider-logo kc-social-gray fa fa-linkedin" aria-hidden="true"></i> ');
}
// Get the span element
var span = anchor.getElementsByClassName('kc-social-provider-name')[0];
// Change the text of the span
span.textContent = 'Sign in with LinkedIn';
}
swapLinkedIn()