Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/felixge/node-comment into f…
Browse files Browse the repository at this point in the history
…elixge/master
  • Loading branch information
davidjrice committed Feb 6, 2010
2 parents bd03568 + 44d9657 commit 2d437de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions public/js/lib/poll_client.js
Expand Up @@ -27,10 +27,11 @@ $(function() {
timeout: TIMEOUT,
error: function(xOptions, status) {
if (status != 'timeout') {
return $status.text('JSONP error: '+status);
$status.text('JSONP error: '+status);
} else {
$status.text('Timeout, re-connect in '+PAUSE+' ms');
}

$status.text('Timeout, re-connect in '+PAUSE+' ms');
// Wait for PAUSE ms before re-connecting
setTimeout(function() {
poll();
Expand Down

0 comments on commit 2d437de

Please sign in to comment.