forked from MapComplete/MapComplete
Fix layer toggling
This commit is contained in:
parent
e2ae83536e
commit
662b752a39
4 changed files with 10 additions and 14 deletions
7
index.ts
7
index.ts
|
@ -316,9 +316,4 @@ locationControl.ping();
|
|||
|
||||
new CheckBox(new LayerSelection(flayers), `Click here`).AttachTo("filter__selection")
|
||||
|
||||
|
||||
// --------------- Setting up toggle button for filter ui --------
|
||||
|
||||
document.querySelector(`#filter__button`).addEventListener(`click`, e => {
|
||||
document.querySelector(`#filter__popup`).classList.toggle(`filter__popup--show`)
|
||||
});
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue