Skip to content

Commit

Permalink
EDSC-4349 Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dpesall committed Jan 22, 2025
1 parent b3d693b commit 3e2901d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -536,13 +536,13 @@ const SpatialSelection = (props) => {
const buttons = drawToolbar.querySelectorAll('.leaflet-draw-draw-circle, .leaflet-draw-draw-polygon, .leaflet-draw-draw-rectangle, .leaflet-draw-draw-marker')
buttons.forEach((button) => {
if (button.classList.contains('leaflet-draw-draw-circle')) {
button.setAttribute('aria-label', 'Draw a spatial circle on the map to select a spatial extent')
button.setAttribute('aria-label', 'Draw a circle on the map to select a spatial extent')
} else if (button.classList.contains('leaflet-draw-draw-polygon')) {
button.setAttribute('aria-label', 'Draw a spatial polygon on the map to select a spatial extent')
button.setAttribute('aria-label', 'Draw a polygon on the map to select a spatial extent')
} else if (button.classList.contains('leaflet-draw-draw-rectangle')) {
button.setAttribute('aria-label', 'Draw a spatial rectangle on the map to select a spatial extent')
button.setAttribute('aria-label', 'Draw a rectangle on the map to select a spatial extent')
} else if (button.classList.contains('leaflet-draw-draw-marker')) {
button.setAttribute('aria-label', 'Draw a spatial coordinate on the map to select a spatial extent')
button.setAttribute('aria-label', 'Draw a coordinate on the map to select a spatial extent')
}
})
}
Expand Down

0 comments on commit 3e2901d

Please sign in to comment.