Skip to content

Commit d63c83e

Browse files
committed
fix: progress function contained undefined variable
1 parent b09673e commit d63c83e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fusty-flow.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
totalDone += file.progress();
177177
totalFiles++;
178178
});
179-
return totalSize > 0 ? totalDone / totalFiles : 0;
179+
return totalFiles > 0 ? totalDone / totalFiles : 0;
180180
},
181181
addFiles: function (elementsList, event) {
182182
var files = [];

0 commit comments

Comments
 (0)