Skip to content

Commit

Permalink
remove trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
pbiering committed Mar 14, 2024
1 parent 10dd5af commit e0a2207
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions radicale/web/internal_data/fn.js
Original file line number Diff line number Diff line change
Expand Up @@ -1291,9 +1291,9 @@ function CreateEditCollectionScene(user, password, collection) {

/**
* Format bytes to human-readable text.
*
*
* @param bytes Number of bytes.
*
*
* @return Formatted string.
*/
function bytesToHumanReadable(bytes, dp=1) {
Expand All @@ -1304,7 +1304,7 @@ function bytesToHumanReadable(bytes, dp=1) {
var i = bytes == 0 ? 0 : Math.floor(Math.log(bytes) / Math.log(1024));
return (bytes / Math.pow(1024, i)).toFixed(dp) * 1 + ' ' + ['b', 'kb', 'mb', 'gb', 'tb'][i];
}


function main() {
// Hide startup loading message
Expand Down

0 comments on commit e0a2207

Please sign in to comment.