1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00

Rename attribute to content in injectIdentifier

This commit is contained in:
Fred Chasen 2017-08-25 15:09:32 -04:00
parent 576a5b81dc
commit 7cea7e8a6f

View file

@ -806,7 +806,7 @@ class Rendition {
let meta = doc.createElement("meta");
meta.setAttribute("name", "dc.relation.ispartof");
if (ident) {
meta.setAttribute("contents", ident);
meta.setAttribute("content", ident);
}
doc.getElementsByTagName("head")[0].appendChild(meta);
}