diff options
author | Philip Nicolcev <frugen@gmail.com> | 2016-07-10 18:52:08 -0400 |
---|---|---|
committer | Philip Nicolcev <frugen@gmail.com> | 2016-07-10 18:52:08 -0400 |
commit | 39819a63b02f1ca1d5f08c34a0f898fef4f84bc7 (patch) | |
tree | 032a1b649dcea516768402979a1ecacafbaf28ec /chat/js/chat.js | |
parent | 4803570eb05486df330caa44f5d9d4620e641f85 (diff) | |
download | AJAX-Chat-origin/timer-rewrite.zip AJAX-Chat-origin/timer-rewrite.tar.gz AJAX-Chat-origin/timer-rewrite.tar.bz2 |
Spacingorigin/timer-rewrite
Diffstat (limited to 'chat/js/chat.js')
-rw-r--r-- | chat/js/chat.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chat/js/chat.js b/chat/js/chat.js index a4bc466..730e655 100644 --- a/chat/js/chat.js +++ b/chat/js/chat.js @@ -848,9 +848,9 @@ var ajaxChat = { }, startRetryTimer: function() { - console.log('startRetryTimer'); var retryTimerDelay = (this.inactiveTimeout*6000 - this.timerRate)/4 + this.timerRate; this.clearRetryTimer(); + console.log('startRetryTimer'); this.retryTimer = setTimeout(this.forceNewRequest, retryTimerDelay); }, |