diff --git a/collective.xmpp.chat.js b/collective.xmpp.chat.js index da373310d..eae5bceb6 100644 --- a/collective.xmpp.chat.js +++ b/collective.xmpp.chat.js @@ -26,7 +26,7 @@ var xmppchat = (function ($, console) { return o; }; - obj.positionNewChat = function (chatbox) { + obj.positionNewChat = function ($chat) { var open_chats = 0, offset; for (var i=0; i