diff options
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/core/wrappers/screen.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/core/wrappers/screen.service.ts b/client/src/app/core/wrappers/screen.service.ts index fd8268b35..deea7f73b 100644 --- a/client/src/app/core/wrappers/screen.service.ts +++ b/client/src/app/core/wrappers/screen.service.ts | |||
@@ -30,7 +30,7 @@ export class ScreenService { | |||
30 | } | 30 | } |
31 | 31 | ||
32 | isInTouchScreen () { | 32 | isInTouchScreen () { |
33 | return !!('ontouchstart' in window || navigator.msMaxTouchPoints) | 33 | return !!('ontouchstart' in window || (navigator as any).msMaxTouchPoints) |
34 | } | 34 | } |
35 | 35 | ||
36 | getNumberOfAvailableMiniatures () { | 36 | getNumberOfAvailableMiniatures () { |