修复部分逻辑问题

This commit is contained in:
iFish 2014-09-05 18:51:21 +08:00
parent 94852177f4
commit c51faf8a88
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@
(function ui() {
$("#chat_float_tip").click(showServerList);
})();
servernode.loadServers();
setTimeout(function() {
servernode.loadServers();
}, 1000 * 60 * 11);

View File

@ -40,7 +40,7 @@
$("#index-tip-body").find(".order-num").html("0").hide();
//取最新的几条通知
var shownNotice = _.first(savedNotice.items, data.sysNoticeMaxShowCount);
if (!shownNotice.length) {
if (!shownNotice || !shownNotice.length) {
shownNotice = [{ title: "暂时没有系统公告" }];
}
$(".search-tips-container").html(noticeTemplate(shownNotice));