All checks were successful
continuous-integration/drone/push Build is passing
17 lines
427 B
JavaScript
17 lines
427 B
JavaScript
const privacyPolicy = document.getElementById('privacy-policy');
|
|
const headerWrapper = document.getElementById('kc-header-wrapper');
|
|
const header = document.getElementById('kc-header');
|
|
|
|
if (privacyPolicy) {
|
|
privacyPolicy.innerHTML = ''
|
|
}
|
|
|
|
if (headerWrapper) {
|
|
privacyPolicy.innerHTML = '<h2></h2><p></p>'
|
|
}
|
|
|
|
if (header) {
|
|
const logo = document.createElement('div');
|
|
logo.id = 'main-logo';
|
|
header.appendChild(logo);
|
|
} |