Skip to content

Conversation

@askielboe
Copy link
Contributor

@askielboe askielboe commented Apr 27, 2020

This PR includes two additional fixes related to iPads running Safari under iOS 13.

Issues: Both isIOS and isMobileSafari currently return false when called in Safari on an iPad running iOS 13.

Regarding isIOS I guess technically iOS on iPad is now called iPadOS, but this library does not seem to reference iPadOS anywhere. So to be consistent I tried to follow the same logic with this PR.

The PR fixes the issues using || getIPad13(), as was done in the previous PR related to this: #81.

I'm not sure if this is really the best way, but it gets the job done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants