mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Move PMCID declaration below DOI cleanup
This commit is contained in:
parent
51aed56d66
commit
63f3a7302e
1 changed files with 1 additions and 1 deletions
|
|
@ -1276,8 +1276,8 @@ Zotero.Attachments = new function () {
|
|||
|
||||
var resolvers = [];
|
||||
var doi = item.getField('DOI') || item.getExtraField('DOI');
|
||||
var pmcid = item.getField('PMCID');
|
||||
doi = Zotero.Utilities.cleanDOI(doi);
|
||||
var pmcid = item.getField('PMCID');
|
||||
if (pmcid) {
|
||||
let matches = pmcid.match(/\bPMC\d+\b/i);
|
||||
pmcid = matches && matches[0].toUpperCase();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue