Hide "Find Available PDF" for feed items (#2807)
This commit is contained in:
parent
a2d378448a
commit
5015b0e4cc
1 changed files with 1 additions and 0 deletions
|
@ -1285,6 +1285,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