mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Remove dropdown from DOM when user leaves the room
This commit is contained in:
parent
c99c707eda
commit
16ad55c07d
@ -572,6 +572,7 @@ Remove all users that left the chat.
|
||||
$('.timsChatUser').each ->
|
||||
unless foundUsers[$(@).attr('id')]?
|
||||
console.log "Removing User: '#{$(@).data('username')}'"
|
||||
WCF.Dropdown.removeDropdown $(@).attr 'id'
|
||||
do $(@).remove
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user