diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js index 47adfd1fd7..1f51fc6cbd 100644 --- a/chrome/content/zotero/xpcom/attachments.js +++ b/chrome/content/zotero/xpcom/attachments.js @@ -833,11 +833,7 @@ Zotero.Attachments = new function(){ saveOptions, }); - if (Zotero.Fulltext.isCachedMIMEType(contentType)) { - // No file, so no point running the PDF indexer - //Zotero.Fulltext.indexItems([itemID]); - } - else if (Zotero.MIME.isTextType(document.contentType)) { + if (Zotero.MIME.isTextType(document.contentType)) { yield Zotero.Fulltext.indexDocument(document, item.id); }