Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(platform): ons.platform.isSafari() doesn't work in Safari 10 #1910

Merged
merged 1 commit into from
Apr 6, 2017

Conversation

yarysh
Copy link
Contributor

@yarysh yarysh commented Mar 31, 2017

ons.platform.isSafari() doesn't work in Safari 10, this method returns false in it.

I've tested this solution in last Chrome, Firefox, Safari 10 and Safari Tech Preview.
My solution based on it: http://stackoverflow.com/a/9851769/1474569

@yarysh yarysh changed the title fix(platform): ons.platform.isSafari() not works in Safari 10 fix(platform): ons.platform.isSafari() doesn't work in Safari 10 Apr 1, 2017
@frandiox
Copy link
Contributor

frandiox commented Apr 6, 2017

@yarysh Thanks a lot for the PR!
@asial-matagawa @misterjunio Can any of you macboys have a look at this? 😛

@asial-matagawa
Copy link
Member

@frandiox
I have tested some expressions on Safari 10.0.
2017-04-06 10 08 02

This fix worked fine.
I would like to release this fix in the future release.

Thank you @yarysh !

@misterjunio
Copy link
Contributor

misterjunio commented Apr 6, 2017

@frandiox I got the same as @asial-matagawa, using Safari 10.1 👍

@asial-matagawa asial-matagawa merged commit cf0f96d into OnsenUI:master Apr 6, 2017
asial-matagawa added a commit that referenced this pull request Apr 6, 2017
fix(platform): ons.platform.isSafari() doesn't work in Safari 10
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.

4 participants