diff --git a/zotero.js b/zotero.js index 28a5558..742f6e5 100644 --- a/zotero.js +++ b/zotero.js @@ -158,9 +158,9 @@ function parseZoteroResults(resultText) { var j = i + 1 if (doi.startsWith("https://doi.org/")) { if (dois.length == 1) { - links.push(' Data link.'); + links.push(' Data link.'); } else { - links.push(' Data link ' + j + '.'); + links.push(' Data link ' + j + '.'); } } } @@ -172,7 +172,7 @@ function parseZoteroResults(resultText) { function parseItemLink(url) { if (url) - return 'Item link.'; + return 'Item link.'; else return ""; } @@ -420,4 +420,4 @@ window.onload = function () { initForm("zoteroSearchForm", expanded); searchZotero(query, itemType, sort, pageStart); -}; \ No newline at end of file +};