mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
remove trailing whitespaces
This commit is contained in:
parent
10dd5aff3c
commit
e0a22074b4
1 changed files with 3 additions and 3 deletions
|
@ -1291,9 +1291,9 @@ function CreateEditCollectionScene(user, password, collection) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Format bytes to human-readable text.
|
* Format bytes to human-readable text.
|
||||||
*
|
*
|
||||||
* @param bytes Number of bytes.
|
* @param bytes Number of bytes.
|
||||||
*
|
*
|
||||||
* @return Formatted string.
|
* @return Formatted string.
|
||||||
*/
|
*/
|
||||||
function bytesToHumanReadable(bytes, dp=1) {
|
function bytesToHumanReadable(bytes, dp=1) {
|
||||||
|
@ -1304,7 +1304,7 @@ function bytesToHumanReadable(bytes, dp=1) {
|
||||||
var i = bytes == 0 ? 0 : Math.floor(Math.log(bytes) / Math.log(1024));
|
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];
|
return (bytes / Math.pow(1024, i)).toFixed(dp) * 1 + ' ' + ['b', 'kb', 'mb', 'gb', 'tb'][i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
// Hide startup loading message
|
// Hide startup loading message
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue