mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
don't show option to retrieve metadata if PDF indexer is not installed
This commit is contained in:
parent
a9c4e0385c
commit
9cb95ac77c
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ var Zotero_RecognizePDF = new function() {
|
|||
* @returns {Boolean} True if the PDF can be recognized, false if it cannot be
|
||||
*/
|
||||
this.canRecognize = function(/**Zotero.Item*/ item) {
|
||||
return (Zotero.Fulltext.pdfConverterIsRegistered && item.attachmentMIMEType &&
|
||||
return (Zotero.Fulltext.pdfConverterIsRegistered() && item.attachmentMIMEType &&
|
||||
item.attachmentMIMEType == "application/pdf" && !item.getSource());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue