mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 14:29:38 +08:00
remove safari check from isAppleDevice (#6869)
This commit is contained in:
parent
51b13ec86f
commit
798e98a7cc
@ -546,7 +546,6 @@ export function isAppleDevice() {
|
|||||||
// This will apply hack on all iDevices
|
// This will apply hack on all iDevices
|
||||||
return (
|
return (
|
||||||
navigator.userAgent.match(/(iPad|iPhone|iPod)/g) &&
|
navigator.userAgent.match(/(iPad|iPhone|iPod)/g) &&
|
||||||
navigator.userAgent.match(/Safari/g) &&
|
|
||||||
!navigator.userAgent.match(/Trident/g)
|
!navigator.userAgent.match(/Trident/g)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user