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 illegal invocation #23883

Merged
merged 1 commit into from
Aug 12, 2019
Merged

Fix illegal invocation #23883

merged 1 commit into from
Aug 12, 2019

Conversation

Enriqe
Copy link
Contributor

@Enriqe Enriqe commented Aug 9, 2019

Fixes #23882

Uses the win object when calling matchMedia().matches to make sure the right context is being passed.

@sparhami sparhami merged commit 95d174e into ampproject:master Aug 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: Illegal invocation
3 participants