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 Viewport Checker #55

Merged
merged 1 commit into from
Sep 25, 2017
Merged

Conversation

pkostadinov-2create
Copy link
Contributor

Fix the issue "Viewport Checker is not working with latest version of Google Chrome" #54

Completely ignoring the userAgent check, replacing it with a simple Math.max() call between html, body and window.

This may not be a perfect fix, however it works fine on all browsers. Tests were made on Windows and Mac on Chrome, Safari, Firefox, Opera, and on Android and iOS.

Fix the issue "Viewport Checker is not working with latest version of Google Chrome" dirkgroenen#54

Completely ignoring the `userAgent` check, replacing it with a simple Math.max() call between html, body and window.

This may not be a perfect fix, however it works fine on all browsers. Tests were made on Windows and Mac on Chrome, Safari, Firefox, Opera, and on Android and iOS.
@narinder9
Copy link

Hi Plamen Kostadinov,
Thank you very much for fixing the issue.It is working fine now.
I appreciate your hard work.

@marcomilic
Copy link

Tnx for the fix. Working for a now.

@dirkgroenen
Copy link
Owner

Thanks @pkostadinov-2create and sorry guys for not being as active as I should. I'm living an extremely busy life these days so there's not much time to maintain the project.

I'll make sure to merge this PR now.

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.

7 participants