|
|
|
@@ -215,10 +215,10 @@ var _hmt = _hmt || []; |
|
|
|
localStorage.setItem("isCloseNotice",true) |
|
|
|
} |
|
|
|
function isShowNotice(){ |
|
|
|
var current_notice = localStorage.getItem("notice") |
|
|
|
var current_notice = localStorage.getItem("notices") |
|
|
|
|
|
|
|
if (current_notice != "{{.notice.CommitId}}"){ |
|
|
|
localStorage.setItem('notice',"{{.notice.CommitId}}"); |
|
|
|
if (current_notice != "{{.notices.CommitId}}"){ |
|
|
|
localStorage.setItem('notices',"{{.notices.CommitId}}"); |
|
|
|
isNewNotice=true; |
|
|
|
localStorage.setItem("isCloseNotice",false) |
|
|
|
}else{ |
|
|
|
|