summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-09-04 16:53:49 +0200
committerTimotej Lazar <timotej.lazar@araneo.org>2015-09-04 16:53:49 +0200
commit3a6dce51204e33fb063c504b442822067b1ac008 (patch)
tree48eb5cbcab1519528ab73e64aba6e5857358343b /js
parent48c5373668c8659f05daad1f96287684f0bb574a (diff)
Remove limits on activity time deltas
Diffstat (limited to 'js')
-rw-r--r--js/prolog.js2
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;
},