Skip to content

Commit 1480d9f

Browse files
authored
fix lint
1 parent a948757 commit 1480d9f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/index.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ let supportsModalPseudo = false
88
try {
99
// This will error in older browsers
1010
supportsModalPseudo = document.body.matches(':modal') === false
11-
} catch {}
11+
} catch {
12+
supportsModalPseudo = false
13+
}
1214

1315
export const baseSupport =
1416
typeof globalThis === 'object' &&

0 commit comments

Comments
 (0)