Commit 1cc461d0 authored by julien's avatar julien

add id properties to page to find a page with URL

parent b4b9168c
This diff is collapsed.
......@@ -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