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

extension: close the popup once the report has opened #5341

Merged
merged 2 commits into from
May 24, 2018

Conversation

paulirish
Copy link
Member

fixes #5340

thanks https://stackoverflow.com/questions/4924615/chrome-extension-force-popup-html-to-close <3

Tested error -> reporting flow and it lg, too.

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

seems easy and safe 👍

Copy link
Member

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

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

just the style nit :)

handleError(err);
}

function handleError(err) {
Copy link
Member

Choose a reason for hiding this comment

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

any reason to make this a function? I'd say either spin off as it's own function or just nest in the catch{}

@paulirish paulirish merged commit 872cba7 into master May 24, 2018
@paulirish paulirish deleted the ext-close-popup branch May 24, 2018 19:37
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.

extension: "Generating results" hangs around after report opns
3 participants