From 819e1755f1000d1fc792eb7e9fc310aea58eca29 Mon Sep 17 00:00:00 2001 From: wangjr Date: Mon, 16 May 2022 15:27:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug=20=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E6=8E=A8=E8=8D=90=E7=BB=84=E7=BB=87=E5=8D=A1=E7=89=87console?= =?UTF-8?q?=E6=9C=89Uncaught=20TypeError?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/org/home.tmpl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index b929407ed..26f5ba186 100755 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -39,7 +39,6 @@ {{end}} {{end}} - {{if .OrgTopics}} @@ -168,7 +167,10 @@ document.getElementById("icon_btn").innerHTML="   {{.i18n.Tr "org.unfold"}}" } } - isShowIconBtn() - iscontinueStatus() + + if ({{.OrgTopics}}.length>0){ + isShowIconBtn() + iscontinueStatus() + } \ No newline at end of file