22 lines
694 B
JavaScript
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()
|