Skip to content

Commit

Permalink
Remove unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
RBoelter committed Jul 28, 2023
1 parent 1fc9a1b commit 2f1ed4c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions js/citations.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const loader = document.querySelector('#citations-loader');
const pluginContainer = document.querySelector('#citation-plugin');

const providerList = ['crossref', 'scopus', 'europepmc', 'google'];

if (pluginContainer) {
Expand Down Expand Up @@ -87,7 +86,6 @@ function createListElement(item) {
}
if (item.hasOwnProperty('volume') && item.volume !== '') {
prototype.querySelector('.cite-info').innerHTML += ', ' + item.volume;

}
if (item.hasOwnProperty('issue') && item.issue !== '') {
prototype.querySelector('.cite-info').innerHTML += '(' + item.issue + ')';
Expand Down

0 comments on commit 2f1ed4c

Please sign in to comment.