diff --git a/chrome/content/zotero/xpcom/translation/translate_item.js b/chrome/content/zotero/xpcom/translation/translate_item.js index 4e3ab6d54..5828a751f 100644 --- a/chrome/content/zotero/xpcom/translation/translate_item.js +++ b/chrome/content/zotero/xpcom/translation/translate_item.js @@ -315,11 +315,13 @@ Zotero.Translate.ItemSaver.prototype = { Zotero.debug("Translate: Not adding attachment: no URL specified", 2); } else { // Determine whether to save an attachment - if(attachment.document - || (attachment.mimeType && attachment.mimeType == "text/html")) { - if(!Zotero.Prefs.get("automaticSnapshots")) return; - } else { - if(!Zotero.Prefs.get("downloadAssociatedFiles")) return; + if(attachment.snapshot !== false) { + if(attachment.document + || (attachment.mimeType && attachment.mimeType == "text/html")) { + if(!Zotero.Prefs.get("automaticSnapshots")) return; + } else { + if(!Zotero.Prefs.get("downloadAssociatedFiles")) return; + } } if(attachment.document && "__wrappedDOMObject" in attachment.document) {