Skip to content
Browse files

fix waiting time before sure that no error occurs

  • Loading branch information...
1 parent cafbefd commit 0c8c733e81f0f0bd12863e57ff12a09c1811f412 @lilydjwg committed Sep 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 static/chat.js
View
2 static/chat.js
@@ -65,7 +65,7 @@ var updater = {
updater.clearinfo = setTimeout(function(){
updater.errorSleepTime = 500;
showinfo(false);
- }, 3000, false);
+ }, Math.min(3000, updater.errorSleepTime), false);
$.ajax({
url: "/a/message/updates",

0 comments on commit 0c8c733

Please sign in to comment.
Something went wrong with that request. Please try again.