]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/assets/player/peertube-plugin.ts
Merge branch 'release/4.0.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / assets / player / peertube-plugin.ts
index 9b4dc9bd58b8a722c16f0d1124ead6baa3fdfc8b..0121e87d72e18deb889b94aaf0408f02a3b0dc1f 100644 (file)
@@ -224,7 +224,7 @@ class PeerTubePlugin extends Plugin {
   private isTouchEnabled () {
     return ('ontouchstart' in window) ||
       navigator.maxTouchPoints > 0 ||
-      navigator.msMaxTouchPoints > 0
+      (navigator as any).msMaxTouchPoints > 0
   }
 
   private initCaptions () {