解决方案:
文件:static/js/common.js
查找:- function noticeTitle() {
- NOTICETITLE = {'State':0, 'oldTitle':document.title, flashNumber:0, sleep:15};
- if(!getcookie('noticeTitle')) {
- window.setInterval('noticeTitleFlash();', 500);
- } else {
- window.setTimeout('noticeTitleFlash();', 500);
- }
- setcookie('noticeTitle', 1, 600);
- }
复制代码 替换为:- var cr180Title = document.title;
- function noticeTitle() {
- NOTICETITLE = {'State':0, 'oldTitle':cr180Title, flashNumber:0, sleep:15};
- if(!getcookie('noticeTitle')) {
- window.setInterval('noticeTitleFlash();', 500);
- } else {
- window.setTimeout('noticeTitleFlash();', 500);
- }
- setcookie('noticeTitle', 1, 600);
- }
复制代码 |