diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-17 14:42:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-18 08:35:06 +0200 |
commit | 9df52d660feb722404be00a50f3c8a612bec1c15 (patch) | |
tree | dde52880fa012874d24c60f64eb596b0a789cc8b /client/src/assets/player/utils.ts | |
parent | adb8809d43648ea0a64d6845bb39aa3bd0e005a6 (diff) | |
download | PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.gz PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.zst PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.zip |
Migrate client to eslint
Diffstat (limited to 'client/src/assets/player/utils.ts')
-rw-r--r-- | client/src/assets/player/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/utils.ts b/client/src/assets/player/utils.ts index f0a1b1aee..f2e9adb14 100644 --- a/client/src/assets/player/utils.ts +++ b/client/src/assets/player/utils.ts | |||
@@ -17,7 +17,7 @@ function isIOS () { | |||
17 | // Detect iPad Desktop mode | 17 | // Detect iPad Desktop mode |
18 | return !!(navigator.maxTouchPoints && | 18 | return !!(navigator.maxTouchPoints && |
19 | navigator.maxTouchPoints > 2 && | 19 | navigator.maxTouchPoints > 2 && |
20 | /MacIntel/.test(navigator.platform)) | 20 | navigator.platform.includes('MacIntel')) |
21 | } | 21 | } |
22 | 22 | ||
23 | function isSafari () { | 23 | function isSafari () { |