diff options
| author | Scott Ostler <scottbot9000@gmail.com> | 2010-09-04 04:30:06 -0400 |
|---|---|---|
| committer | Scott Ostler <scottbot9000@gmail.com> | 2010-09-04 04:30:06 -0400 |
| commit | 1cb38a65f0d85b58851a5a829ab059d6fe300759 (patch) | |
| tree | ef204b78a2348edb8917031507c46b1c8d9cbe43 /static/js | |
| parent | 622122468f565bfb1c52245affd07413c6aecca6 (diff) | |
Removed chat-version crap
Diffstat (limited to 'static/js')
| -rw-r--r-- | static/js/pichat.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js index ef45935..18e438a 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -465,7 +465,7 @@ function refresh() { if (IsAdmin && window.console) { console.error(resp, textStatus, errorThrown); } - setTimeout(refresh, 1000); + setTimeout(refresh, 4000); }; $.ajax({ @@ -504,6 +504,10 @@ function initChat() { // see /static/webcam/webcam.js if ('webcam' in window) webcam.init() + startChatUpdater(); +} + +function startChatUpdater() { setTimeout(refresh, 1000); } |
