Skip to content

Commit

Permalink
no black outline for variable legend outlines
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardchalstrey1 committed Jan 7, 2025
1 parent 183ec74 commit da9b425
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions seshat/apps/core/static/core/js/map_functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,6 @@ function updateLegend() {
colorBox.style.marginRight = '10px';
legendItem.appendChild(colorBox);

if (key === 'Unknown') {
colorBox.style.border = '1px solid black';
}
if (key === 'Unknown') {
legendItem.appendChild(document.createTextNode('Coded unknown'));
} else {
Expand Down Expand Up @@ -461,10 +458,6 @@ function updateLegend() {
colorBox.style.marginRight = '10px';
legendItem.appendChild(colorBox);

if (key === 'unknown') {
colorBox.style.border = '1px solid black';
}

legendItem.appendChild(document.createTextNode(longAbsentPresentVarName(key)));

legendDiv.appendChild(legendItem);
Expand Down

0 comments on commit da9b425

Please sign in to comment.