Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time.elapsed doesnt fire when ended on reload #19

Open
gorelegacy opened this issue Mar 23, 2019 · 0 comments
Open

time.elapsed doesnt fire when ended on reload #19

gorelegacy opened this issue Mar 23, 2019 · 0 comments

Comments

@gorelegacy
Copy link

gorelegacy commented Mar 23, 2019

`$('.js-countdown').countDown({
separator_days: ':'
});

$('.js-countdown').on('time.elapsed, function () {
$('.video_container_outer').fadeIn();
$('.gallery_container').fadeOut();
console.log('ended');
});`

Hey!

So this code executes perfectly when the timer runs out when i'm on the page. But when i refresh the page it goes back to its original state...and the event doesn't get fired. Do you have a solution?

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

No branches or pull requests

1 participant