Skip to content

Commit

Permalink
fix bug: sender endlessly sends empty data
Browse files Browse the repository at this point in the history
  • Loading branch information
angela0 authored Aug 14, 2021
1 parent a9d01aa commit d081bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/scripts/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ class FileChunker {
}

isFileEnd() {
return this._offset > this._file.size;
return this._offset >= this._file.size;
}

get progress() {
Expand Down

0 comments on commit d081bb9

Please sign in to comment.