diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-04 16:53:49 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-04 16:53:49 +0200 |
commit | 3a6dce51204e33fb063c504b442822067b1ac008 (patch) | |
tree | 48eb5cbcab1519528ab73e64aba6e5857358343b /js | |
parent | 48c5373668c8659f05daad1f96287684f0bb574a (diff) |
Remove limits on activity time deltas
Diffstat (limited to 'js')
-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; }, |