Skip to content

time.elapsed doesnt fire when ended on reload #19

@gorelegacy

Description

@gorelegacy

`$('.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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions