Hide "Find Available PDF" for feed items (#2807)
This commit is contained in:
parent
04120099fb
commit
74051576dd
1 changed files with 1 additions and 0 deletions
|
@ -1279,6 +1279,7 @@ Zotero.Attachments = new function(){
|
|||
|
||||
this.canFindPDFForItem = function (item) {
|
||||
return item.isRegularItem()
|
||||
&& !item.isFeedItem
|
||||
&& (!!item.getField('DOI') || !!item.getField('url') || !!item.getExtraField('DOI'))
|
||||
&& item.numPDFAttachments() == 0;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue