Commit dfeb07e4 authored by Alexandre Garino's avatar Alexandre Garino

Reuse an existing window.PagedConfig instance #3

parent 061e7b6a
......@@ -101,9 +101,8 @@ class Printer extends EventEmitter {
}
await page.evaluate(() => {
window.PagedConfig = {
auto: false
}
window.PagedConfig = window.PagedConfig || {};
window.PagedConfig.auto = false;
});
......
Markdown is supported
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