aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app/browser.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/browser.js b/src/app/browser.js
index 7afce22..0ec8746 100644
--- a/src/app/browser.js
+++ b/src/app/browser.js
@@ -439,7 +439,9 @@ events.forEach((event) => {
Preview.hide();
let mouseAt = document.elementsFromPoint(mouseX, mouseY);
- if (! mouseAt.includes(document.querySelector("#filter"))) {
+ if (! mouseAt.includes(document.querySelector("#filter"))
+ && ! mouseAt.includes(document.querySelector(".overlay"))) {
+ console.log(mouseAt)
Browser.filters.toggle(false);
}
})