mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
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…
Add table
Reference in a new issue