aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/peertube-plugin.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player/peertube-plugin.ts')
-rw-r--r--client/src/assets/player/peertube-plugin.ts2
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 () {