* Add sticky footer to UX settings page when changes are made * Add missing spaces to html object
6 lines
262 B
JavaScript
6 lines
262 B
JavaScript
const form = document.querySelector('.sticky-footer-form');
|
|
|
|
form.addEventListener('change', () => {
|
|
const saveFooter = document.getElementsByClassName('save-footer');
|
|
saveFooter && saveFooter[0] && saveFooter[0].classList.add('sticky-save-footer');
|
|
});
|