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 a561a14da7324eaaab6395dce1db948b7c7772cf
2 changes: 1 addition & 1 deletion apps/files/js/file-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@ OC.Uploader.prototype = _.extend({
}

// smooth bitrate
if (smoothBitrate == null){
if (smoothBitrate === null) {
smoothBitrate = data.bitrate;
} else{
smoothBitrate = smoothing * data.bitrate + ((1-smoothing) * smoothBitrate);
Expand Down