Skip to content

Commit

Permalink
More timeout adjustments ... don't like this
Browse files Browse the repository at this point in the history
Cf. #22
  • Loading branch information
thvitt committed Nov 14, 2016
1 parent 2255b27 commit afd5402
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rendersvgs.js
Expand Up @@ -63,7 +63,9 @@ page.open(backend, function(status) {
transcriptGeneration.createToPhantom(transcript, imagelinks);
};

page.render("target/preload.png");
window.setTimeout(function() { page.evaluate(render, transcript, imagelinks); }, 1000);
window.setTimeout(function() {
page.render("target/preload.png");
window.setTimeout(function() { page.evaluate(render, transcript, imagelinks); }, 1500);
}, 1000);

});

0 comments on commit afd5402

Please sign in to comment.