Fix jumping time in beets.js

Round was used instead of floor
This commit is contained in:
waweic 2018-02-26 17:01:06 +01:00 committed by GitHub
parent 1254d48b72
commit df83516086
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ var timeFormat = function(secs) {
return '0:00';
}
secs = Math.round(secs);
var mins = '' + Math.round(secs / 60);
var mins = '' + Math.floor(secs / 60);
secs = '' + (secs % 60);
if (secs.length < 2) {
secs = '0' + secs;