From 7a0411fb8ba0c47a688fddfcd8eacf9af3db94a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 16 Jul 2019 16:27:53 +0200 Subject: [PATCH] change lockdown to happend after two months (#33960) --- javascripts/theme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascripts/theme.js b/javascripts/theme.js index f715370..c7b72d9 100644 --- a/javascripts/theme.js +++ b/javascripts/theme.js @@ -223,7 +223,7 @@ $(function() { var last_activity_url = $('#history a[href*=activity]').last().attr('href'); var date = new Date(last_activity_url.split('=')[1]); var today = new Date(); - if (today - date > (20 * 86400*1000)) { /* older than 20 days */ + if (today - date > (60 * 86400*1000)) { /* older than 60 days */ $('div#content > div.contextual .icon-edit').hide(); } }