Commit 088ad881 by Torkel Ödegaard

Updated phantomjs panel rendering code

parent c5afcd8e
...@@ -31,7 +31,7 @@ page.open(params.url, function (status) { ...@@ -31,7 +31,7 @@ page.open(params.url, function (status) {
return $('canvas').length > 0; return $('canvas').length > 0;
}); });
if (canvas || tries === 5) { if (canvas || tries === 10000) {
page.render(params.png); page.render(params.png);
phantom.exit(); phantom.exit();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment