aboutsummaryrefslogtreecommitdiff
path: root/resources
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:37 +0100
commitfc60b7dbf09dd2c9fdfec7fa6e7451e33de3c47f (patch)
treea7ac28e7a93550a42b2380840c8684c8bec35245 /resources
parenta473ffeba85328b5e08d646dd8d8850ff782928c (diff)
fix error/typo, re #2429
Diffstat (limited to 'resources')
-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 322db90..f680747 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();
}
})