diff --git a/templates/base/head_pro.tmpl b/templates/base/head_pro.tmpl index 8f7f41ddc..10d86f809 100644 --- a/templates/base/head_pro.tmpl +++ b/templates/base/head_pro.tmpl @@ -233,7 +233,7 @@ var _hmt = _hmt || []; }else{ isNewNotice=false; } - if ("{{.notice.Visible}}"){ + if (JSON.parse("{{.notice.Visible}}")){ if(isNewNotice){ document.getElementById("notic_content").style.display='block' }else{