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

Handle case where container is undefined in isUnrendered #62

Closed
wants to merge 1 commit into from

Conversation

tkh44
Copy link

@tkh44 tkh44 commented Oct 14, 2016

If container is undefined then getComputedStyle will throw an Error.

If container is undefined then getComputedStyle will throw and Error.
@tkh44
Copy link
Author

tkh44 commented Oct 14, 2016

#63

@wnr
Copy link
Owner

wnr commented Oct 27, 2016

As this won't solve the real issue, I'll reject this PR. It is a part of the public API that the injected elements may not be removed or moved before calling uninstall. Perhaps a nicer error message could be added, but I don't want the system to fail silent.

@wnr wnr closed this Oct 27, 2016
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.

None yet

2 participants