You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks! So sorry for the long reply. Is TimeMe.getTimeOnCurrentPageInSeconds().toFixed(2); throwing the 'cannot read property toFIxed' error? This implies that getTimeOnCurrentPageInSeconds is returning undefined. This is most likely happening if you never called the initialize() function of TimeMe, which is required before being able to retrieve time on page. Are you calling initialize?
Hi.
first of all, really nice job!
I have a situation where i need to save the time in database, then reset the value to 0
this is my code
` setInterval(function () {
But after saving the time, i get undefined and "Uncaught TypeError: Cannot read property 'toFixed' of undefined"
What i'm doing wrong?
Thanks!
The text was updated successfully, but these errors were encountered: