Commit 04d4d41b authored by Fred Chasen's avatar Fred Chasen

exlude positional page classes from clonePage

parent 140fbbfe
Pipeline #729 passed with stage
in 4 minutes and 31 seconds
......@@ -509,7 +509,9 @@ class Chunker {
this.emit("page", page);
for (const className of originalPage.element.classList) {
page.element.classList.add(className);
if (className !== "pagedjs_left_page" && className !== "pagedjs_right_page") {
page.element.classList.add(className);
}
}
await this.hooks.afterPageLayout.trigger(page.element, page, undefined, this);
......
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