diff --git a/js/article.js b/js/article.js index 419bf84..e15c2be 100644 --- a/js/article.js +++ b/js/article.js @@ -7088,6 +7088,13 @@ function getCitations(doi, a_ID) { $('.DimensionsBadge a').attr('href', 'https://badge.dimensions.ai/details/doi/' + doi) var str = `
${result.times_cited}
` $('.DimensionsBadge .quote-content').html(str) + }, + error: function (result) { + console.log('result at line 212:', result) + // var str = `` + + var str = `
0
` + $('.DimensionsBadge .quote-content').html(str) } }) //Scite Badge (Wiley) @@ -7103,6 +7110,12 @@ function getCitations(doi, a_ID) { $('.SciteBadge a').attr('href', 'https://scite.ai/reports/' + i) var str1 = `
${result.tallies[i]['citingPublications']}
` } + $('.SciteBadge .quote-content1').html(str1) + }, + error: function (result) { + console.log('result at line 212:', result) + var str1 = `
0
` + $('.SciteBadge .quote-content1').html(str1) } })