mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
* Fix display of size values in web interface: The web interface rounded large number values down using Math.floor(), causing the web interface to display faulty torrent/download sizes. A torrent of size 1,92 GB (915 pieces @ 2,1 MB) was shown as "1GB". After about half the download was done, the UI showed "1GB of 1GB (55%)", which is rather irritating. The fix removes the `Math.floor()` and adds fractions to the larger size values.