ciromattia/jquery.counterup

Counter is triggered much earlier than it enters the viewport

mrWilson123 opened this issue · 1 comments

Hi, I hope this plugin is not abandoned. I discovered that the counter is triggered much earlier than it enters the viewport.

My settings:

$('.counter-up').counterUp({
delay: 10,
time: 1000,
offset: 100,
beginAt: 0
});

What to do?

Thank you for a great plugin. :)

Everything is ok now. I found a solution. The issue was not in a plugin.

$(window).on('load', function() { - solved the problem. :)