]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/core/wrappers/screen.service.ts
Update translations
[github/Chocobozzz/PeerTube.git] / client / src / app / core / wrappers / screen.service.ts
index fd8268b35336cb338bc554cf9ab4b60d2d691e0e..deea7f73bd29b684197c13610f1b4ea16c5933a5 100644 (file)
@@ -30,7 +30,7 @@ export class ScreenService {
   }
 
   isInTouchScreen () {
-    return !!('ontouchstart' in window || navigator.msMaxTouchPoints)
+    return !!('ontouchstart' in window || (navigator as any).msMaxTouchPoints)
   }
 
   getNumberOfAvailableMiniatures () {