diff --git a/file/js/TimWolla.WCF.Chat.js b/file/js/TimWolla.WCF.Chat.js index e3f1a7a..114492c 100644 --- a/file/js/TimWolla.WCF.Chat.js +++ b/file/js/TimWolla.WCF.Chat.js @@ -17,7 +17,7 @@ if (typeof TimWolla.WCF == 'undefined') TimWolla.WCF = {}; init: function(roomID, messageID) { this.bindEvents(); this.refreshRoomList(); - new WCF.PeriodicalExecuter(this.refreshRoomList, 10e3); + new WCF.PeriodicalExecuter($.proxy(this.refreshRoomList, this), 10e3); $('#chatInput').focus(); },