corrected fullPage var name

This commit is contained in:
vid 2018-12-08 01:09:45 -08:00
parent a8db83b311
commit 632c1561b6
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ console.log(program.fullPage);
if (program.w || program.h) {
const newWidth = !program.w?600:program.w
const newHeight = !program.h?'0':program.h
if (program.h && !program.fullpage) fullPage = false;
if (program.h && !program.fullpage) program.fullPage = false;
await page.setViewport({width: Number(newWidth), height: Number(newHeight)})
}
if (program.emulate)