1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-15 16:29:34 +00:00

(web) r10834, whoops

This commit is contained in:
Daniel Lee 2010-06-24 05:23:48 +00:00
parent 03ea4a35e8
commit 58084f5b32

View file

@ -72,7 +72,7 @@ Transmission.fmt = (function()
return 'None';
if( bytes < KB_val )
return bytes.toFixed(10) + ' B';
return bytes.toFixed(0) + ' B';
if( bytes < ( KB_val * 100 ) )
return (bytes/KB_val).toFixed(2) + ' ' + KB_str;