Permalink
Browse files

Fixed issue preventing polling for new jobs. Closes #192

  • Loading branch information...
1 parent 5fc857a commit 4ed74d91e2078e0d9e65add2210178db97973cb1 @drudge drudge committed Mar 25, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/http/public/javascripts/main.js
View
1 lib/http/public/javascripts/main.js
@@ -158,6 +158,7 @@ function pollForJobs(state, ms) {
refreshJobs(state, function(){
infiniteScroll();
if(!pollForJobs.timer) pollForJobs.timer = setTimeout(function(){
+ delete pollForJobs.timer;
pollForJobs(state, ms);
}, ms);
});

0 comments on commit 4ed74d9

Please sign in to comment.