Inject the pad dependency into chat.

This commit is contained in:
Chad Weider 2012-01-15 21:05:19 -08:00
parent 8a0d6c6636
commit 72d29b1c62
2 changed files with 5 additions and 4 deletions

View file

@ -413,7 +413,7 @@ var pad = {
pad.clientTimeOffset = new Date().getTime() - clientVars.serverTimestamp;
//initialize the chat
chat.init();
chat.init(this);
pad.initTime = +(new Date());
pad.padOptions = clientVars.initialOptions;