Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Commit e745e62

Browse files
committed
Merge pull request #1618 from gboudreau/master
Workaround for Chrome bug that prevents onchange events from receiving the selected files
2 parents 17308de + 2f1d983 commit e745e62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.fileupload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@
850850
fileInput.prop('entries'),
851851
files,
852852
value;
853-
if (entries) {
853+
if (entries && entries.length > 0) {
854854
return this._handleFileTreeEntries(entries);
855855
}
856856
files = $.makeArray(fileInput.prop('files'));

0 commit comments

Comments
 (0)