diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/app/browser.js | 4 |
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); } }) |