Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.

Commit

Permalink
waitImgLoading fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
6uimorais committed May 5, 2018
1 parent b17f81a commit b3995f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/phantom-html2pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ function convert(options, callback) {
runnings = options.runnings || '',
keepTmpFiles = options.keepTmpFiles === true,
paperSize = options.paperSize || {},
runningsArgs = options.runningsArgs ? JSON.stringify(options.runningsArgs) : '';
waitImgLoading = options.waitImgLoading
runningsArgs = options.runningsArgs ? JSON.stringify(options.runningsArgs) : '',
waitImgLoading = options.waitImgLoading;

/* Create temporary files for PDF, HTML, CSS and JS storage
* We need to wait for all of them to finish creating the files before proceeding.
Expand Down

0 comments on commit b3995f7

Please sign in to comment.