Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Counter is triggered much earlier than it enters the viewport #14

Open
mrWilson123 opened this issue Mar 1, 2018 · 1 comment
Open
Labels

Comments

@mrWilson123
Copy link

mrWilson123 commented Mar 1, 2018

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. :)

@mrWilson123
Copy link
Author

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

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants