scrollFunction (responsive-scripts.min.js?ver=1.2.6:1) error
-
Hello there !
After updating the theme to v3.17, i can see a lot of JS errors in the web dev console during scrolling on any page.
Error message:
responsive-scripts.min.js?ver=1.2.6:1 Uncaught TypeError: Cannot read property ‘style’ of null at scrollFunction (responsive-scripts.min.js?ver=1.2.6:1)I am using a child theme since my first install in 2012 and had no major problem with it.
I have left my dev website home page link where you will be able to reproduce the errors.
What am I doing wrong ?
Edit:
I see that the responsive-scripts.min.js script is trying to get an element on the page with the id=”scroll” and store it in ‘mybutton’ variable, but it fails to find it and so when it is latter trying to change the css display property with mybutton.style.display=”block” or mybutton.style.display=”none”, the script fails and the exception is raised.
What is this element with “scroll” id ? And what is supposed to be ‘mybutton’ ? A scroll top button ?I will continue investigations while awaiting your lights !
Thank you for your help.
Kind regards.
GBThe page I need help with: [log in to see the link]
- The topic ‘scrollFunction (responsive-scripts.min.js?ver=1.2.6:1) error’ is closed to new replies.