diff options
author | Chocobozzz <me@florianbigard.com> | 2021-11-10 16:14:16 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-11-10 16:33:55 +0100 |
commit | cd2fad008a29d5a6b9ee5ea48e51388fa7fc12a0 (patch) | |
tree | 25294d48e4e6e8633fbfb41e83d268f1fc72ca43 /client/src/app | |
parent | 9bedf70b23cc01ca44ca2f82935c7cc28cb75232 (diff) | |
download | PeerTube-cd2fad008a29d5a6b9ee5ea48e51388fa7fc12a0.tar.gz PeerTube-cd2fad008a29d5a6b9ee5ea48e51388fa7fc12a0.tar.zst PeerTube-cd2fad008a29d5a6b9ee5ea48e51388fa7fc12a0.zip |
Update angular
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 () { |