| @@ -215,10 +215,10 @@ var _hmt = _hmt || []; | |||||
| localStorage.setItem("isCloseNotice",true) | localStorage.setItem("isCloseNotice",true) | ||||
| } | } | ||||
| function isShowNotice(){ | 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; | isNewNotice=true; | ||||
| localStorage.setItem("isCloseNotice",false) | localStorage.setItem("isCloseNotice",false) | ||||
| }else{ | }else{ | ||||
| @@ -216,10 +216,10 @@ var _hmt = _hmt || []; | |||||
| localStorage.setItem("isCloseNotice",true) | localStorage.setItem("isCloseNotice",true) | ||||
| } | } | ||||
| function isShowNotice(){ | 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; | isNewNotice=true; | ||||
| localStorage.setItem("isCloseNotice",false) | localStorage.setItem("isCloseNotice",false) | ||||
| }else{ | }else{ | ||||
| @@ -220,10 +220,10 @@ var _hmt = _hmt || []; | |||||
| localStorage.setItem("isCloseNotice",true) | localStorage.setItem("isCloseNotice",true) | ||||
| } | } | ||||
| function isShowNotice(){ | 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; | isNewNotice=true; | ||||
| localStorage.setItem("isCloseNotice",false) | localStorage.setItem("isCloseNotice",false) | ||||
| }else{ | }else{ | ||||
| @@ -217,10 +217,10 @@ var _hmt = _hmt || []; | |||||
| localStorage.setItem("isCloseNotice",true) | localStorage.setItem("isCloseNotice",true) | ||||
| } | } | ||||
| function isShowNotice(){ | 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; | isNewNotice=true; | ||||
| localStorage.setItem("isCloseNotice",false) | localStorage.setItem("isCloseNotice",false) | ||||
| }else{ | }else{ | ||||