From 3a6dce51204e33fb063c504b442822067b1ac008 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Fri, 4 Sep 2015 16:53:49 +0200 Subject: Remove limits on activity time deltas --- js/prolog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') 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; }, -- cgit v1.2.1