From bc386af3d54a0e85baf5c79fb8e874389fea711c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 18 Dec 2011 16:13:22 +0100 Subject: [PATCH] Bind to this (i hate it) --- file/js/TimWolla.WCF.Chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); },