This is happening because you have added the following custom javascript to your website:
document.querySelector('.glsr') && document.querySelector('#give-reviews').addEventListener('click', (e=>{
let t = document.querySelector('form.glsr-review-form');
t.style.maxHeight = t.scrollHeight + 90 + 'px',
t.style.paddingTop = '45px',
t.style.paddingBottom = '45px'
}))
The document.querySelector('#give-reviews')
part is looking for an element on the page with an id of #give-reviews
which does not exist. Since it doesn’t exist, it’s throwing an error causing other scripts on the page to break.
You should do something like this instead:
let reviewsEl = document.querySelector('#give-reviews');
if (reviewsEl) {
reviewsEl.addEventListener('click', (ev) => {});
}
Alternatively, you could just do this with CSS:
form.glsr-review-form {
box-sizing: border-box;
padding-top: 45px;
padding-bottom: 45px;
}
Ho my !
Didn’t even see that… So sorry to bothered you for that I was on another thought …
Thanks a lot