Skip to content

Commit

Permalink
fix form submit bug closes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbeefeater committed Oct 31, 2016
1 parent ef05216 commit a165c79
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion dist/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ssi-uploader",
"version": "1.3.2",
"version": "1.3.4",
"main": "ssi-uploader/js/ssi-uploader.js",
"description": "An awesome jquery uploader",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions dist/ssi-uploader/js/ssi-uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@
thisS.abort(index); // abort request
});
//----------------------------UPLOADFILES------------------------------------
$uploadBtn.click(function () {// upload the files
$uploadBtn.click(function (e) {// upload the files
e.preventDefault();
thisS.uploadFiles();
});
$abortBtn.click(function () { // abort all requests
$abortBtn.click(function (e) { // abort all requests
e.preventDefault();
thisS.abortAll();
});
Expand Down
Loading

0 comments on commit a165c79

Please sign in to comment.