From f2cfba8d2f6ae1b43cc24ea1752203dd0f056a04 Mon Sep 17 00:00:00 2001 From: iFish Date: Fri, 5 Sep 2014 20:55:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E6=94=B6=E5=88=B0=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E6=88=BF=E9=97=B4=E5=9C=A8=E7=BA=BF=E4=BA=BA=E6=95=B0=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=97=B6=EF=BC=8C=E8=87=AA=E5=8A=A8=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web12306/js/ui/chat/roomsession.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Web12306/js/ui/chat/roomsession.js b/Web12306/js/ui/chat/roomsession.js index 52e5ee2..d1d511e 100644 --- a/Web12306/js/ui/chat/roomsession.js +++ b/Web12306/js/ui/chat/roomsession.js @@ -151,6 +151,9 @@ room.onlinecount = d.count; //更新显示 that.refreshOnlineCount(); + + //更新显示 + $("#chat_server_select li[data-id='" + room.id + "'] span").html("(" + d.count + "人)"); }); port.on("sendMessageFailed", function (e, data) { that.appendMessageItem(roomStateTemplate({ state: "error", stateIcon: "fa-times", msg: "消息发送失败:" + data, exinfo: "" }));