Skip to content

Commit

Permalink
coquille checkbox unique
Browse files Browse the repository at this point in the history
  • Loading branch information
rayaberova7 committed Oct 23, 2024
1 parent 86cee24 commit 8be1204
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mayotte.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,9 +414,9 @@ const osmLayerCheckbox = document.getElementById('osmLayer');
const geojsonSelectChoice = document.getElementById('geojsonSelect');
const pleiadesLayer2023Checkbox = document.getElementById('pleiadesLayer2023');

osmLayerCheckbox.addEventListener('change', updateLayers('osmLayer'));
geojsonSelectChoice.addEventListener('change', updateLayers(''));
pleiadesLayer2023Checkbox.addEventListener('change', updateLayers('pleiadesLayer2023'));
osmLayerCheckbox.addEventListener('change', () => updateLayers('osmLayer'));
geojsonSelectChoice.addEventListener('change', () => updateLayers(''));
pleiadesLayer2023Checkbox.addEventListener('change', () => updateLayers('pleiadesLayer2023'));
```

```js
Expand Down

0 comments on commit 8be1204

Please sign in to comment.