Commit d38a963d authored by 宿召阳's avatar 宿召阳

bug fix

parent b1aff5c9
......@@ -40,7 +40,7 @@ $.fn.webSocket = function(opt){
elem.appendChild(txt)
return elem.innerHTML;
}
var tag = $('<div id="log" style="height:300px;"></div>');
var tag = $('<div id="log" style="height:300px;overflow: auto;"></div>');
//告诉服务器端有用户登录
socket.emit('login', {userid:message.id, filename:message.filename});
socket.on('message',function(obj){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment