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:
parent
576a5b81dc
commit
7cea7e8a6f
1 changed files with 1 additions and 1 deletions
|
@ -806,7 +806,7 @@ class Rendition {
|
||||||
let meta = doc.createElement("meta");
|
let meta = doc.createElement("meta");
|
||||||
meta.setAttribute("name", "dc.relation.ispartof");
|
meta.setAttribute("name", "dc.relation.ispartof");
|
||||||
if (ident) {
|
if (ident) {
|
||||||
meta.setAttribute("contents", ident);
|
meta.setAttribute("content", ident);
|
||||||
}
|
}
|
||||||
doc.getElementsByTagName("head")[0].appendChild(meta);
|
doc.getElementsByTagName("head")[0].appendChild(meta);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue