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