Commit c01f0086 authored by Fred Chasen's avatar Fred Chasen

restore named page first selector

parent b4c54d1b
......@@ -797,7 +797,7 @@ class AtPage extends Handler {
page.element.classList.add("pagedjs_named_page");
page.element.classList.add("pagedjs_" + named + "_page");
if (index === 0 || pages[index-1].name !== named) {
if (!start.dataset.splitFrom) {
page.element.classList.add("pagedjs_" + named + "_first_page");
}
}
......
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