aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-03 16:07:22 +0200
committerChocobozzz <me@florianbigard.com>2020-08-03 16:07:22 +0200
commitb12ce2b8511039968faabe5a9eeee60ab36521eb (patch)
tree384cd51a53d3178ce5f4535bb8080b6aa5dc9569 /client/src/assets/player
parentdca0fe12ec2e47be51884c4eb05ebe6f358cb9de (diff)
downloadPeerTube-b12ce2b8511039968faabe5a9eeee60ab36521eb.tar.gz
PeerTube-b12ce2b8511039968faabe5a9eeee60ab36521eb.tar.zst
PeerTube-b12ce2b8511039968faabe5a9eeee60ab36521eb.zip
Fix isIOS function
Diffstat (limited to 'client/src/assets/player')
-rw-r--r--client/src/assets/player/utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/assets/player/utils.ts b/client/src/assets/player/utils.ts
index 81fe68951..3135f4e6c 100644
--- a/client/src/assets/player/utils.ts
+++ b/client/src/assets/player/utils.ts
@@ -14,9 +14,9 @@ function isIOS () {
14 } 14 }
15 15
16 // Detect iPad Desktop mode 16 // Detect iPad Desktop mode
17 return navigator.maxTouchPoints && 17 return !!(navigator.maxTouchPoints &&
18 navigator.maxTouchPoints > 2 && 18 navigator.maxTouchPoints > 2 &&
19 /MacIntel/.test(navigator.platform) 19 /MacIntel/.test(navigator.platform))
20} 20}
21 21
22function isSafari () { 22function isSafari () {