Skip to content

Add e.preventDefault() in download function#6

Open
jiaowang84 wants to merge 1 commit intoClearC2:masterfrom
jiaowang84:master
Open

Add e.preventDefault() in download function#6
jiaowang84 wants to merge 1 commit intoClearC2:masterfrom
jiaowang84:master

Conversation

@jiaowang84
Copy link

When I used this library: upon button click, the page always gets refreshed. So, I believe adding e.preventDefault() can prevent this behaviour.
Please merge this pull request if you think it's correct and help to bump up the version.

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.

1 participant