aboutsummaryrefslogtreecommitdiffstats
path: root/main.js
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2025-06-14 21:32:05 +0200
committerGuilhem Moulin <guilhem@fripost.org>2025-06-15 08:39:36 +0200
commit5e3480f121c93792c3325882299c911ec01bcbba (patch)
tree2857b32c343ac2e0b7ea613d2571d3f29c9f9679 /main.js
parenta69e05598650eea332c9bf2dfdff5196f7b81aba (diff)
Dispose popover/overlay when opening the age filter dialog.
We might filter away the feature currently selected so it makes sense to clear the feature list first.
Diffstat (limited to 'main.js')
-rw-r--r--main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.js b/main.js
index 876157a..b595c3b 100644
--- a/main.js
+++ b/main.js
@@ -2195,6 +2195,7 @@ const infoMetadataAccordions = [];
});
btn.onclick = function() {
+ disposePopover();
dialog_setup();
modal.show();
};