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

Making sure the consent UI AMP element is upgraded before calling whenBuilt. #22724

Merged
merged 1 commit into from Jun 6, 2019

Conversation

gmajoulet
Copy link
Contributor

Making sure the consent UI AMP element is upgraded before calling whenBuilt.

This PR is actually a follow up on #18841, that waits for the consent UI to be built before showing it. Sometimes, the code would run even before the component is upgraded to an AMP custom element. The whenBuilt method would not exist, resulting in this.h.whenBuilt is not a function errors.

@aghassemi
Copy link
Contributor

/to @zhouyx

@aghassemi aghassemi removed their request for review June 6, 2019 16:23
Copy link
Contributor

@zhouyx zhouyx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gmajoulet gmajoulet merged commit 802ad9a into ampproject:master Jun 6, 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.

None yet

5 participants