Javascript Error on Scroll
-
I got this javascript error in my browser console as soon as I scroll the screen (and repeats whenever I scroll the screen):
Uncaught TypeError: Cannot set properties of undefined (setting ‘clean’)To find the line I loaded the unminified javascript and this seems to happen on line 317 (or 379) which is:
initialEls[index].clean = true;}
so I changed this to:if (initialEls.index) {initialEls[index].clean = true;}
so that it fails silently.
As I’m not sure under what condition the index doesn’t exist in the first place, so I thought I’d report it here to be fixed.
- The topic ‘Javascript Error on Scroll’ is closed to new replies.