Skip to content

Commit

Permalink
fix régions filter
Browse files Browse the repository at this point in the history
  • Loading branch information
juggler31 committed Jul 22, 2024
1 parent 2e36e78 commit 67e5429
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _includes/utilisateurs-carte-es.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
Otros organismos
</button>
<button class="pure-button" id="filter5">
Provincia
Provincias
</button>
</nav>

Expand Down
4 changes: 1 addition & 3 deletions assets/js/leaflet/carte.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,7 @@ $(document).ready(function() {
filter5.className = "active";
user.setFilter(function(f) {
return (
f.properties.type === "Autre" ||
f.properties.type === "LPO" ||
f.properties.type === "CDRP"
f.properties.type === "Région"
);
});
};
Expand Down

0 comments on commit 67e5429

Please sign in to comment.