Scroll percentage of page enabled – JS error in console log
-
Hi guys,
Thanks for your awesome plugin!
I’m having an issue regarding enabling Scroll percentage of page setting. If I enable it, I have this error in Chrome dev console “Uncaught ReferenceError: ix is not defined”. Can give you screenshot of the error place, it’s here in the code:
…
if (window.trackScrollingPercentage === true) {
Frequency = ScrollingPercentageNumber;
Repentance = 100 / ScrollingPercentageNumber;
var ScrollMatrix = new Array();
for (ix = 0; ix < Repentance; ix++) {
ScrollMatrix[ix] = [Frequency, “false”];
Frequency = ScrollingPercentageNumber + Frequency
}
…
It seems like the problem is in this for loop’s “ix” var.Thanks,
Ivan
- The topic ‘Scroll percentage of page enabled – JS error in console log’ is closed to new replies.