Fix isIOS function

pull/2919/head
Chocobozzz 2020-08-03 16:07:22 +02:00
parent dca0fe12ec
commit b12ce2b851
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -14,9 +14,9 @@ function isIOS () {
} }
// Detect iPad Desktop mode // Detect iPad Desktop mode
return navigator.maxTouchPoints && return !!(navigator.maxTouchPoints &&
navigator.maxTouchPoints > 2 && navigator.maxTouchPoints > 2 &&
/MacIntel/.test(navigator.platform) /MacIntel/.test(navigator.platform))
} }
function isSafari () { function isSafari () {