Skip to content

Commit

Permalink
Fixed bug onchange duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
markusslima committed Nov 7, 2017
1 parent 85b205f commit 071ae6f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/bootstrap-filestyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,6 @@
_self.$elementFilestyle.find('.badge').remove();
}

_self.options.onChange(files);
$('[name="filedrag"]').css('z-index', '-1');
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap-filestyle.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 071ae6f

Please sign in to comment.