Don't show PDF icon for linked-URL PDFs (regression from 8cd5b09053)

This commit is contained in:
Dan Stillman 2019-03-08 20:23:00 -05:00
parent c7698a2324
commit c735423996

View file

@ -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';
}