Skip to content
Snippets Groups Projects
Commit 2e995afc authored by Fred Chasen's avatar Fred Chasen
Browse files

Merge branch 'patch-1' into 'master'

Reuse an existing window.PagedConfig instance

Closes #3

See merge request tools/pagedjs-cli!3
parents 06504a49 dfeb07e4
No related branches found
No related tags found
No related merge requests found
......@@ -103,9 +103,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