From b0b740f9b530682fb2ea0a4327837218bb2c13bb Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Wed, 8 May 2024 19:37:28 +0200 Subject: [PATCH] wip: fix CSS selector to determine if browser is open or not --- umap/static/umap/js/modules/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/modules/browser.js b/umap/static/umap/js/modules/browser.js index db281a19..3c147a37 100644 --- a/umap/static/umap/js/modules/browser.js +++ b/umap/static/umap/js/modules/browser.js @@ -127,7 +127,7 @@ export default class Browser { } isOpen() { - return !!document.querySelector('.umap-browser') + return !!document.querySelector('.on .umap-browser') } hasFilters() {