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(SaveAsImage): don't create an anchor element if you don't need to #10132

Merged
merged 1 commit into from
Mar 25, 2019

Conversation

CarterLi
Copy link
Contributor

@CarterLi CarterLi commented Mar 19, 2019

We won't use $a for IE and edge. In addition, there's no document object in web worker. So we'd better don't create an element if we don't need to.

Ref: #9232

@100pah 100pah merged commit afdc82c into apache:master Mar 25, 2019
@100pah
Copy link
Member

100pah commented Mar 25, 2019

Thanks @CarterLi

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.

2 participants