mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 14:56:15 +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
|
||||
return (
|
||||
navigator.userAgent.match(/(iPad|iPhone|iPod)/g) &&
|
||||
navigator.userAgent.match(/Safari/g) &&
|
||||
!navigator.userAgent.match(/Trident/g)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user