diff --git a/file/js/be.bastelstu.Chat.litcoffee b/file/js/be.bastelstu.Chat.litcoffee index b73dbbf..d983f44 100644 --- a/file/js/be.bastelstu.Chat.litcoffee +++ b/file/js/be.bastelstu.Chat.litcoffee @@ -156,11 +156,11 @@ Make the user leave the chat when **Tims Chat** is about to be unloaded. Insert the appropriate smiley code into the input when a smiley is clicked. - $('#smilies').on 'click', 'img', -> insertText " #{$(@).attr('alt')} " + $('#timsChatSmileyContainer').on 'click', 'img', -> insertText " #{$(@).attr('alt')} " Copy the first loaded category of smilies so it won't get detached by wcfDialog - overlaySmileyList = $('