summaryrefslogtreecommitdiff
path: root/source/features/close-out-of-view-modals.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/close-out-of-view-modals.tsx')
-rw-r--r--source/features/close-out-of-view-modals.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/close-out-of-view-modals.tsx b/source/features/close-out-of-view-modals.tsx
index f15d3837..0bf36908 100644
--- a/source/features/close-out-of-view-modals.tsx
+++ b/source/features/close-out-of-view-modals.tsx
@@ -5,7 +5,7 @@ import features from '../libs/features';
const observer = new IntersectionObserver(([{intersectionRatio, target}]) => {
if (intersectionRatio === 0) {
observer.unobserve(target);
- const dropdown = select<HTMLElement>(`
+ const dropdown = select(`
.dropdown-details[open] summary,
body.menu-active .modal-backdrop
`);