Skip to content

Commit

Permalink
fix: remove labels on search - part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
foosint committed Jan 29, 2024
1 parent 144a0e6 commit 4db62c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -967,8 +967,12 @@ class MapViewer {
.includes(current_search_string)
) {
elem?.classList.add('hide');
const tooltipClass = elem.getAttribute('aria-describedby');
document.getElementById(tooltipClass)?.classList.add('hide');
} else {
elem?.classList.remove('hide');
const tooltipClass = elem.getAttribute('aria-describedby');
document.getElementById(tooltipClass)?.classList.remove('hide');
}
});
});
Expand Down

0 comments on commit 4db62c4

Please sign in to comment.