From bb3829462d5f5512dd7de7cc5efa49c03333f2ef Mon Sep 17 00:00:00 2001 From: naiba Date: Wed, 23 Dec 2020 20:22:04 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20improve:=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E5=9C=A8=E7=BA=BF=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/template/theme-default/home.html | 2 +- resource/template/theme-hotaru/home.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resource/template/theme-default/home.html b/resource/template/theme-default/home.html index 18a9780..703a317 100644 --- a/resource/template/theme-default/home.html +++ b/resource/template/theme-default/home.html @@ -188,7 +188,7 @@ if (!ns.Host) ns.live = false else { const lastActive = new Date(ns.LastActive).getTime() - if (Date.now() - lastActive > 5 * 1000) { + if (Date.now() - lastActive > 10 * 1000) { ns.live = false } else { ns.live = true diff --git a/resource/template/theme-hotaru/home.html b/resource/template/theme-hotaru/home.html index 3a1fd17..fceb1f7 100644 --- a/resource/template/theme-hotaru/home.html +++ b/resource/template/theme-hotaru/home.html @@ -246,7 +246,7 @@ if (!ns.Host) ns.live = false else { const lastActive = new Date(ns.LastActive).getTime() - if (Date.now() - lastActive > 5 * 1000) { + if (Date.now() - lastActive > 10 * 1000) { ns.live = false } else { ns.live = true