Skip to content

Commit

Permalink
Linting #9433
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Jun 28, 2023
1 parent 67e2299 commit f246ff6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,11 @@ const matTooltipCustomConfig: MatTooltipDefaultOptions = {

// Disable animations if not supported (on iPhone 6 / Safari 13, or SSR)
const disableAnimations =
// eslint-disable-next-line no-restricted-globals
typeof document === 'undefined' ||
// eslint-disable-next-line no-restricted-globals
!('animate' in document.documentElement) ||
// eslint-disable-next-line no-restricted-globals
(navigator && /iPhone OS (8|9|10|11|12|13)_/.test(navigator.userAgent));

bootstrapApplication(AppComponent, {
Expand Down

0 comments on commit f246ff6

Please sign in to comment.