Don't show PDF icon for linked-URL PDFs (regression from 8cd5b09053
)
This commit is contained in:
parent
c7698a2324
commit
c735423996
1 changed files with 1 additions and 1 deletions
|
@ -3686,7 +3686,7 @@ Zotero.Item.prototype.getImageSrc = function() {
|
|||
if (itemType == 'attachment') {
|
||||
var linkMode = this.attachmentLinkMode;
|
||||
|
||||
if (this.attachmentContentType == 'application/pdf') {
|
||||
if (this.attachmentContentType == 'application/pdf' && this.isFileAttachment()) {
|
||||
if (linkMode == Zotero.Attachments.LINK_MODE_LINKED_FILE) {
|
||||
itemType += '-pdf-link';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue