From 16ad55c07d59fcad70fc30a010d037c3f8a93c6a Mon Sep 17 00:00:00 2001 From: Maximilian Mader Date: Tue, 6 Aug 2013 20:48:28 +0200 Subject: [PATCH] Remove dropdown from DOM when user leaves the room --- file/js/be.bastelstu.Chat.litcoffee | 1 + 1 file changed, 1 insertion(+) diff --git a/file/js/be.bastelstu.Chat.litcoffee b/file/js/be.bastelstu.Chat.litcoffee index 0dd723f..5911195 100644 --- a/file/js/be.bastelstu.Chat.litcoffee +++ b/file/js/be.bastelstu.Chat.litcoffee @@ -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