Skip to content

Commit

Permalink
Merge pull request blueimp#1618 from gboudreau/master
Browse files Browse the repository at this point in the history
Workaround for Chrome bug that prevents onchange events from receiving the selected files
  • Loading branch information
blueimp committed Aug 26, 2012
2 parents 17308de + 2f1d983 commit e745e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.fileupload.js
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@
fileInput.prop('entries'),
files,
value;
if (entries) {
if (entries && entries.length > 0) {
return this._handleFileTreeEntries(entries);
}
files = $.makeArray(fileInput.prop('files'));
Expand Down

0 comments on commit e745e62

Please sign in to comment.