aboutsummaryrefslogtreecommitdiff
path: root/resources/assets/javascripts/lib
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+github@gmail.com>2024-10-30 15:16:17 +0100
committerJan-Hendrik Willms <tleilax+github@gmail.com>2024-10-30 15:16:17 +0100
commit7714d226801e8be0faf204b436344eefaefee183 (patch)
tree7d3dc93a4254ef822fb9b32247d9c75407558d29 /resources/assets/javascripts/lib
parent5c78fc761d7afd7aafd21f521ac19a15b59facf3 (diff)
fix error/typo, re #2429
Diffstat (limited to 'resources/assets/javascripts/lib')
-rw-r--r--resources/assets/javascripts/lib/oer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/assets/javascripts/lib/oer.js b/resources/assets/javascripts/lib/oer.js
index 704d5ba..7e14348 100644
--- a/resources/assets/javascripts/lib/oer.js
+++ b/resources/assets/javascripts/lib/oer.js
@@ -210,7 +210,7 @@ const OER = {
}
document.addEventListener('click', (event) => {
- if (event.closest('.searchform') === null) {
+ if (event.target.closest('.searchform') === null) {
this.hideFilterPanel();
}
})