Skip to content

Commit

Permalink
closes #20
Browse files Browse the repository at this point in the history
  • Loading branch information
TJkrusinski committed Sep 28, 2014
1 parent 28a6bdf commit 28c7f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion render.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if (phantom.args.length < 2) {
console.log('unable to load the address!');
} else {
window.setTimeout(function(){
page.render(phantom.args[1]);
page.render(phantom.args[1], { format: 'pdf' });
console.log('success');
phantom.exit();
}, options.captureDelay || 400);
Expand Down

0 comments on commit 28c7f6f

Please sign in to comment.