From 807303a32565a206a2d66f1530599c149fa70a76 Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Fri, 26 Oct 2012 13:19:58 -0400 Subject: [PATCH] jquery.idle: don't allow the active handler to fire as a result of the user going idle (imported from commit 28793228e50449b096dfe999a8cd17b7fa9e347e) --- zephyr/static/third/jquery.idle/jquery.idle.js | 1 + 1 file changed, 1 insertion(+) diff --git a/zephyr/static/third/jquery.idle/jquery.idle.js b/zephyr/static/third/jquery.idle/jquery.idle.js index 674883a8e6..d767f7103d 100644 --- a/zephyr/static/third/jquery.idle/jquery.idle.js +++ b/zephyr/static/third/jquery.idle/jquery.idle.js @@ -68,6 +68,7 @@ var createTimeout = function() { timerId = setTimeout(function(){ idle = true; + cancel(); settings.onIdle.call(); if(settings.keepTracking){ timerId = createTimeout(settings);