diff --git a/file/js/be.bastelstu.Chat.litcoffee b/file/js/be.bastelstu.Chat.litcoffee index 75a7606..c420e86 100644 --- a/file/js/be.bastelstu.Chat.litcoffee +++ b/file/js/be.bastelstu.Chat.litcoffee @@ -49,7 +49,9 @@ exposed by a function if necessary. userListSize = 0 remainingFailures = 3 - + + overlaySmileyList = null + events = newMessage: $.Callbacks() userMenu: $.Callbacks() @@ -147,6 +149,26 @@ Insert the appropriate smiley code into the input when a smiley is clicked. $('#smilies').on 'click', 'img', -> insertText " #{$(@).attr('alt')} " +Copy the first loaded category of smilies so it won't get detached by wcfDialog + + overlaySmileyList = $('