diff options
author | 0neGal <mail@0negal.com> | 2022-05-21 20:58:37 +0200 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2022-05-21 20:58:37 +0200 |
commit | d720773525d04e1deebcbe6a12021ed568a27104 (patch) | |
tree | d279958cba0138193ca8fc65c1f0dfa9eee0c7f7 /src/app | |
parent | 80f8b72b14bc3d3e0c3ec575dd8a696b11bd8bec (diff) | |
download | Viper-d720773525d04e1deebcbe6a12021ed568a27104.tar.gz Viper-d720773525d04e1deebcbe6a12021ed568a27104.zip |
fixed filters not working
Diffstat (limited to 'src/app')
-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); } }) |