Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
keithamus committed Mar 27, 2024
1 parent a948757 commit 1480d9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ let supportsModalPseudo = false
try {
// This will error in older browsers
supportsModalPseudo = document.body.matches(':modal') === false
} catch {}
} catch {
supportsModalPseudo = false
}

export const baseSupport =
typeof globalThis === 'object' &&
Expand Down

0 comments on commit 1480d9f

Please sign in to comment.