Skip to content

Commit

Permalink
on disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
impronunciable committed Sep 22, 2011
1 parent beef368 commit f4899ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified dump.rdb
Binary file not shown.
6 changes: 3 additions & 3 deletions views/room.jade
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ script()
});
socket.on('user leave',function(data){
var user_list = $('.chat-list .li');
$.each(user_list,function(k,v){
alert(v);
$('.chat-list li').each(function(k,v){
if($(v).last().last().text() == data.nickname)
$(v).remove();
});
});
Expand Down

0 comments on commit f4899ff

Please sign in to comment.