Skip to content

Commit ecccbc6

Browse files
committed
Merge pull request blueimp#1884 from pedrofaustino/upload-bitrate-fix
Fixes display of bitrate with long decimal numbers.
2 parents d33a91e + d766e2f commit ecccbc6

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)