mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Adapt unwrapping for master
This commit is contained in:
parent
575fd30e62
commit
08cf3d9841
1 changed files with 2 additions and 2 deletions
|
|
@ -310,8 +310,8 @@ Zotero.Translate.ItemSaver.prototype = {
|
|||
|| downloadAssociatedFiles;
|
||||
if(!shouldAttach) return;
|
||||
|
||||
if(attachment.document && "__wrappedDOMObject" in attachment.document) {
|
||||
attachment.document = attachment.document.__wrappedDOMObject;
|
||||
if(attachment.document) {
|
||||
attachment.document = Zotero.Translate.DOMWrapper.unwrap(attachment.document);
|
||||
}
|
||||
|
||||
if(attachment.snapshot === false || !this._saveFiles) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue