Skip to content

Commit 53260a5

Browse files
committed
Upgrade to release v4.1.3
1 parent 8d34f0d commit 53260a5

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

js/fileinput.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -845,12 +845,10 @@
845845
},
846846
updateProgress = function() {
847847
if (allFiles && self.uploadPercent >= 100) {
848-
self.$element.trigger('filebatchuploadcomplete', [self.filestack, self.uploadExtraData]);
849-
return;
850-
}
851-
if (self.$preview.find('file-uploading').length == 0) {
852848
self.unlock();
853849
self.clearFileInput();
850+
self.$element.trigger('filebatchuploadcomplete', [self.filestack, self.uploadExtraData]);
851+
return;
854852
}
855853
if (!allFiles || total == 0) {
856854
return;

0 commit comments

Comments
 (0)