#2095 fix-1984 修改bug 点击推荐组织卡片console有Uncaught TypeError

Merged
zhoupzh merged 2 commits from fix-1984 into V20220519 2 years ago
  1. +5
    -3
      templates/org/home.tmpl

+ 5
- 3
templates/org/home.tmpl View File

@@ -39,7 +39,6 @@
</a>
{{end}}
{{end}}

{{if .OrgTopics}}
<a class=" tag_key ui small tag_lable topic omit icon_a" onclick="isUnfold()" id="icon_btn" >
<i class="ri-arrow-down-s-line" style="display:inline-block;vertical-align:top"></i>
@@ -168,7 +167,10 @@
document.getElementById("icon_btn").innerHTML="<i class=\"ri-arrow-down-s-line\" style=\"display:inline-block;vertical-align:top\"></i> &nbsp {{.i18n.Tr "org.unfold"}}"
}
}
isShowIconBtn()
iscontinueStatus()

if ({{.OrgTopics}}.length>0){
isShowIconBtn()
iscontinueStatus()
}
</script>

Loading…
Cancel
Save