summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/index/lastlog.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-10 07:02:47 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-10 07:02:47 +0100
commit9e6b80c0321ba1fbe1c824083acbeeac7b7b94d4 (patch)
tree67cd6d247cd1bc15c43ebad10e2f02249217e8ca /public/assets/js/lib/views/index/lastlog.js
parenta932b664db987f2cf9ceefe9bb56e43793470d5e (diff)
post form and other stuff
Diffstat (limited to 'public/assets/js/lib/views/index/lastlog.js')
-rw-r--r--public/assets/js/lib/views/index/lastlog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/index/lastlog.js b/public/assets/js/lib/views/index/lastlog.js
index 0fed101..fe50e0f 100644
--- a/public/assets/js/lib/views/index/lastlog.js
+++ b/public/assets/js/lib/views/index/lastlog.js
@@ -23,7 +23,7 @@ var LastLog = View.extend({
},
parse: function(user){
- if (Date.now()/1000 - user.lastseen > 86400 * 14 *10000) return ''
+ if (Date.now()/1000 - user.lastseen > 86400 * 5 *10) return ''
var t = this.template
.replace(/{{username}}/g, user.username)
.replace(/{{age}}/g, get_age(user.lastseen) )