Skip to content

Commit

Permalink
skip null jobs
Browse files Browse the repository at this point in the history
need to find out what is causing this
  • Loading branch information
tj committed Jul 7, 2011
1 parent 1a4b50e commit 6201904
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/http/public/javascripts/main.js
Expand Up @@ -142,6 +142,8 @@ function refreshJobs(state, fn) {
});

for (var i = 0; i < len; ++i) {
if (!jobs[i]) continue;

// exists
if (o('#job-' + jobs[i].id).length) {
el = o('#job-' + jobs[i].id);
Expand Down

0 comments on commit 6201904

Please sign in to comment.