1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Bind to this (i hate it)

This commit is contained in:
Tim Düsterhus 2011-12-18 16:13:22 +01:00
parent 52445e9cb9
commit bc386af3d5

View File

@ -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();
},