Fix HTML indexing when using linkFromDocument()
This commit is contained in:
parent
b99e581929
commit
d1ae009f57
1 changed files with 1 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue