Skip to content

Commit d766e2f

Browse files
author
Pedro Faustino
committed
Fixes display of bitrate with long decimal numbers.
1 parent d33a91e commit d766e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.fileupload-ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@
361361
if (bits >= 1000) {
362362
return (bits / 1000).toFixed(2) + ' kbit/s';
363363
}
364-
return bits + ' bit/s';
364+
return bits.toFixed(2) + ' bit/s';
365365
},
366366

367367
_formatTime: function (seconds) {

0 commit comments

Comments
 (0)