From 1cb38a65f0d85b58851a5a829ab059d6fe300759 Mon Sep 17 00:00:00 2001 From: Scott Ostler Date: Sat, 4 Sep 2010 04:30:06 -0400 Subject: Removed chat-version crap --- static/js/pichat.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'static/js') 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); } -- cgit v1.2.3-70-g09d2