Updated phantomjs panel rendering code

This commit is contained in:
Torkel Ödegaard 2015-02-10 11:13:35 +01:00
parent c5afcd8e09
commit 088ad881e0

View File

@ -31,7 +31,7 @@ page.open(params.url, function (status) {
return $('canvas').length > 0;
});
if (canvas || tries === 5) {
if (canvas || tries === 10000) {
page.render(params.png);
phantom.exit();
}