Open joamoa opened 9 years ago
Hi, how can I implement your quick fix? I'm sorry I don't fully understand what you are suggesting. I'm having the same issue. 30 is stopping at 29...
Figured it out thanks!
Thanks for this, was having the exact same issue.
Thanks! work for me
Hi All, i needed this more reliable for a project, so i forked it and added a 'total' variable that it always relies on. If the total is missing, it will work as per the original, using the text supplied by "$this.text()".
Here it is:
In my fork I merged a bunch of PRs - it's already on bower and NPM.
This issue should be fixed with Waypoints-4.0.0 support, please check it out and tell me if it works. Thanks!
Worked for me, @ciromattia. Thanks for fixing this!
Processing number: 1615 results in 1614 after countup.
Config is $('#track-points:visible').counterUp({ delay: 10, time: 1000 });
Quick fix is to ensure final number is in the array when it is declared. I.e:
Alternatively, for loop should be adjusted to make sure the initial number is added.