Closed thorst closed 11 years ago
This may be an error in my understanding.
I was looking for a function that gave me the users inactive time.
Not the time since they WENT inactive.
In other words i was looking for the time since last active, regardless of whether the idle.idleTimer event fired.
I will fork and add.
Never mind, something else seems to be the issue. If i use the demo and move my mouse it will sometimes say its active, other times it ignores my mouse movement and says ive been inactive.
Firefox 20.0.1
I've noticed this too. $( document ).idleTimer("getElapsedTime");
returns the document element for me, rather than an integer. However, $.idleTimer("getElapsedTime");
does work.
The following line outputs an object, instead of the elapsed time in ms
console.log($(document).idleTimer("getElapsedTime"));