parent
a200f6cfc5
commit
f9449b1749
1 changed files with 3 additions and 2 deletions
|
@ -4679,8 +4679,9 @@ var ZoteroPane = new function()
|
||||||
if(!id) continue;
|
if(!id) continue;
|
||||||
var elValues = {};
|
var elValues = {};
|
||||||
for (let attr of el.getAttribute("zotero-persist").split(/[\s,]+/)) {
|
for (let attr of el.getAttribute("zotero-persist").split(/[\s,]+/)) {
|
||||||
var attrValue = el.getAttribute(attr);
|
if (el.hasAttribute(attr)) {
|
||||||
elValues[attr] = attrValue;
|
elValues[attr] = el.getAttribute(attr);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
serializedValues[id] = elValues;
|
serializedValues[id] = elValues;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue