From cd2fad008a29d5a6b9ee5ea48e51388fa7fc12a0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 10 Nov 2021 16:14:16 +0100 Subject: Update angular --- client/src/assets/player/peertube-plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/assets/player') 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 { private isTouchEnabled () { return ('ontouchstart' in window) || navigator.maxTouchPoints > 0 || - navigator.msMaxTouchPoints > 0 + (navigator as any).msMaxTouchPoints > 0 } private initCaptions () { -- cgit v1.2.3