Moved to short form for file size.
This commit is contained in:
parent
13537ebd1f
commit
fd022ee01c
1 changed files with 2 additions and 2 deletions
|
@ -161,9 +161,9 @@ class App.Controller extends Spine.Controller
|
|||
# human readable file size
|
||||
humanFileSize: (size) =>
|
||||
if size > ( 1024 * 1024 )
|
||||
size = Math.round( size / ( 1024 * 1024 ) ) + ' MBytes'
|
||||
size = Math.round( size / ( 1024 * 1024 ) ) + ' MB'
|
||||
else if size > 1024
|
||||
size = Math.round( size / 1024 ) + ' KBytes'
|
||||
size = Math.round( size / 1024 ) + ' KB'
|
||||
else
|
||||
size = size + ' Bytes'
|
||||
size
|
||||
|
|
Loading…
Reference in a new issue