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
No related merge requests found
......@@ -101,9 +101,8 @@ class Printer extends EventEmitter {
}
await page.evaluate(() => {
window.PagedConfig = {
auto: false
}
window.PagedConfig = window.PagedConfig || {};
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