From: Vincent Date: Sat, 24 Oct 2020 17:33:53 +0000 (+0200) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=fe4600c3661b7d572b3be1f0919f9912f43833b3;p=tortuga-home.git . --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 932a20b..7bc005b 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,8 +3,7 @@ - - + @@ -1282,11 +1281,11 @@ - + - + diff --git a/js/home.js b/js/home.js index c70e0ff..80d35ec 100644 --- a/js/home.js +++ b/js/home.js @@ -735,7 +735,7 @@ function showSection(section, force) { setSleepTime(); var diff = Math.round((new Date().getTime() - lastRefresh.getTime()) / 1000); - if (diff < 180) { + if (diff < 7200) { _showSection(section); } else { refreshSections(function () { @@ -750,7 +750,7 @@ function refreshSections(callback) { console.log('Sections loaded'); SECTIONS = data; lastRefresh = new Date(); - if (callback != undefined) { + if (callback !== undefined) { callback(); } });