Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update apps/files/js/file-upload.js
Code Style

Co-authored-by: Carl Schwan <[email protected]>
  • Loading branch information
Phlogi and CarlSchwan authored Dec 8, 2021
commit 615d1cbbed55336357ec60aad4dde4fec3b3e5fc
2 changes: 1 addition & 1 deletion apps/files/js/file-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ OC.Uploader.prototype = _.extend({

bufferIndex = (bufferIndex + 1) % bufferSize;
}
if (bufferIndex == bufferSize - 1){
if (bufferIndex === bufferSize - 1) {
bufferFilled = true;
}
//console.log('#', ' idx: ',bufferIndex, ' Total: ', bufferTotal, ' remainSeconds: ', remainingSeconds, ' during: ', diffUpdate);
Expand Down