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

Defer the initialization of HighlightHandler until win.document becomes ready #20883

Merged
merged 3 commits into from Feb 20, 2019

Conversation

yunabe
Copy link
Contributor

@yunabe yunabe commented Feb 15, 2019

This PR fixes a bug that HighlightHandler does not work and it fails to highlight texts when amp-viewer-integration extension, which is loaded with async, is executed before DOMContentLoaded event.

@aghassemi aghassemi merged commit 6bebd80 into ampproject:master Feb 20, 2019
@aghassemi
Copy link
Contributor

Thanks @yunabe. Feel free to CC me or Alan or PRs for faster response.

@yunabe
Copy link
Contributor Author

yunabe commented Feb 20, 2019

Thank you for the review, @aghassemi.

Feel free to CC me or Alan or PRs for faster response.

Thanks. I'll forward PRs to you or Alan next time.

noranazmy pushed a commit to noranazmy/amphtml that referenced this pull request Mar 22, 2019
bramanudom pushed a commit to bramanudom/amphtml that referenced this pull request Mar 22, 2019
@yunabe yunabe deleted the docready branch June 19, 2019 08:09
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.

None yet

3 participants