remove safari check from isAppleDevice (#6869)

This commit is contained in:
Angus McLeod 2019-01-10 13:02:55 +11:00 committed by Sam
parent 51b13ec86f
commit 798e98a7cc

View File

@ -546,7 +546,6 @@ export function isAppleDevice() {
// This will apply hack on all iDevices
return (
navigator.userAgent.match(/(iPad|iPhone|iPod)/g) &&
navigator.userAgent.match(/Safari/g) &&
!navigator.userAgent.match(/Trident/g)
);
}