Commit aaa29d68 authored by Fred Chasen's avatar Fred Chasen

Merge branch 'master' into bleed

parents f2730625 ed2c03df
This diff is collapsed.
This diff is collapsed.
......@@ -21,7 +21,7 @@ describe('default', async () => {
it('should render 1 page', async () => {
let pages = await page.$$eval(".pagedjs_page", (r) => r.length);
expect(pages).toBe(1);
expect(pages).toBe(5);
})
if (!DEBUG) {
......
......@@ -73,6 +73,7 @@ class Page {
this.id = id;
page.dataset.pageNumber = pgnum+1;
page.setAttribute('id', id);
if (this.name) {
page.classList.add("pagedjs_" + this.name + "_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