Skip to content

Commit

Permalink
fixed redlisticon undefined error
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattk70 committed Oct 29, 2024
1 parent da5dc1b commit 94baca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -3168,7 +3168,7 @@ function centreSpec(){

summaryHTML+=
`<td class="text-end"><a title="${IUCNLabel[status]}: Learn more about this species ICUN assessment"
class="d-inline-block p-1 w-100 rounded text-decoration-none text-center ${IUCNMap[redListIcon]} ${!url ? 'disabled-link' : ''}"
class="d-inline-block p-1 w-100 rounded text-decoration-none text-center ${IUCNMap[status]} ${!url ? 'disabled-link' : ''}"
href="${url || '#'}" target="_blank"> ${status}</a></td>`;
}
summaryHTML += `<td class="text-end">${item.count}</td>
Expand Down

0 comments on commit 94baca6

Please sign in to comment.