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

idleTimeoutInSeconds -1 #66

Open
ghost opened this issue Oct 7, 2020 · 0 comments · May be fixed by #69
Open

idleTimeoutInSeconds -1 #66

ghost opened this issue Oct 7, 2020 · 0 comments · May be fixed by #69

Comments

@ghost
Copy link

ghost commented Oct 7, 2020

I have the 'idleTimeoutInSeconds' set to -1, however this doesn't seem to have an effect.

TimeMe.initialize({
    currentPageName: "live.php", // current page
    idleTimeoutInSeconds: -1 // seconds
});

setInterval(function(){
    var timeSpentOnPage = TimeMe.getTimeOnCurrentPageInSeconds();
    console.log(timeSpentOnPage);
    $.post( "record.php", { uuid: "<?php echo $uuid; ?>", time: timeSpentOnPage, page: 'live.php' } );
}, 1000);

Otherwise, script runs fine.

@ciaranpflanagan ciaranpflanagan linked a pull request Nov 16, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

0 participants