Skip to content

Commit

Permalink
Update overlays.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jokd authored Dec 6, 2024
1 parent 2b13506 commit e4cb1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controls/legend/overlays.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const Overlays = function Overlays(options) {
// Hide overlays container when empty
const onChangeLayer = function onChangeLayer() {
const nrOverlays = readOverlays().length;
if(nrOverlays === 0){
if (nrOverlays === 0) {
document.getElementById(this.getId()).classList.add('hidden');
} else {
document.getElementById(this.getId()).classList.remove('hidden');
Expand Down

0 comments on commit e4cb1ff

Please sign in to comment.