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/assets/player/peertube-plugin.ts | |
parent | 9bedf70b23cc01ca44ca2f82935c7cc28cb75232 (diff) | |
download | PeerTube-cd2fad008a29d5a6b9ee5ea48e51388fa7fc12a0.tar.gz PeerTube-cd2fad008a29d5a6b9ee5ea48e51388fa7fc12a0.tar.zst PeerTube-cd2fad008a29d5a6b9ee5ea48e51388fa7fc12a0.zip |
Update angular
Diffstat (limited to 'client/src/assets/player/peertube-plugin.ts')
-rw-r--r-- | client/src/assets/player/peertube-plugin.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-plugin.ts b/client/src/assets/player/peertube-plugin.ts index 9b4dc9bd5..0121e87d7 100644 --- a/client/src/assets/player/peertube-plugin.ts +++ b/client/src/assets/player/peertube-plugin.ts | |||
@@ -224,7 +224,7 @@ class PeerTubePlugin extends Plugin { | |||
224 | private isTouchEnabled () { | 224 | private isTouchEnabled () { |
225 | return ('ontouchstart' in window) || | 225 | return ('ontouchstart' in window) || |
226 | navigator.maxTouchPoints > 0 || | 226 | navigator.maxTouchPoints > 0 || |
227 | navigator.msMaxTouchPoints > 0 | 227 | (navigator as any).msMaxTouchPoints > 0 |
228 | } | 228 | } |
229 | 229 | ||
230 | private initCaptions () { | 230 | private initCaptions () { |