Permalink
Browse files

Fixing logic from previous commits (#1698)

  • Loading branch information...
adam3smith committed Jul 18, 2018
1 parent 95b25c5 commit c13c6184e13b249cea8f97971a6e751bd9c84272
Showing with 2 additions and 2 deletions.
  1. +2 −2 Citavi 5 XML.js
View
@@ -12,7 +12,7 @@
"inRepository": true,
"translatorType": 1,
"browserSupport": "gcsi",
"lastUpdated": "2018-07-16 11:43:28"
"lastUpdated": "2018-07-16 21:43:28"
}
/*
@@ -244,7 +244,7 @@ function doImport() {
if (address) {
if (addressType == "Doi" && !item.DOI) {
item.DOI = address;
} else if (addressType == "PubMedId" && item.extra && !item.extra.includes("PMID")) {
} else if (addressType == "PubMedId" && ((item.extra && !item.extra.includes("PMID"))|| !item.extra)) {
addExtraLine(item, "PMID", address);
} else {
// distinguish between local paths and internet addresses

0 comments on commit c13c618

Please sign in to comment.