Skip to content
Snippets Groups Projects
Commit dfeb07e4 authored by Alexandre's avatar Alexandre
Browse files

Reuse an existing window.PagedConfig instance #3

parent 061e7b6a
No related branches found
No related tags found
1 merge request!3Reuse an existing window.PagedConfig instance
...@@ -101,9 +101,8 @@ class Printer extends EventEmitter { ...@@ -101,9 +101,8 @@ class Printer extends EventEmitter {
} }
await page.evaluate(() => { await page.evaluate(() => {
window.PagedConfig = { window.PagedConfig = window.PagedConfig || {};
auto: false window.PagedConfig.auto = false;
}
}); });
......
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