diff options
-rw-r--r-- | js/prolog.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/prolog.js b/js/prolog.js index 7fe73fd..d9bcdca 100644 --- a/js/prolog.js +++ b/js/prolog.js @@ -88,7 +88,7 @@ var lastActivityMillis = Date.now(), deltaActivityMillis = function deltaActivityMillisFunc () { var now = Date.now(), - dt = Math.max(0, Math.min(30000, now - lastActivityMillis)); // 0 sec <= dt <= 30 sec + dt = now - lastActivityMillis; lastActivityMillis = now; return dt; }, |