jquery.idle: don't allow the active handler to fire as a result of the user going idle

(imported from commit 28793228e50449b096dfe999a8cd17b7fa9e347e)
This commit is contained in:
Zev Benjamin 2012-10-26 13:19:58 -04:00
parent 8173bd720b
commit 807303a325
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@
var createTimeout = function() {
timerId = setTimeout(function(){
idle = true;
cancel();
settings.onIdle.call();
if(settings.keepTracking){
timerId = createTimeout(settings);