Fix Track and Album Format Issues on Artist Page (#49)

Fix Track and Album Format Issues on Artist Page
This commit is contained in:
Qstick 2017-08-16 00:02:49 -04:00 committed by GitHub
parent a5ac4ed37a
commit 87f13e5e9c
2 changed files with 5 additions and 2 deletions

View File

@ -304,6 +304,9 @@
.track-explicit-cell {
width : 100px;
}
.track-duration-cell {
width : 100px;
}
.track-title-cell {
cursor : pointer;

View File

@ -83,9 +83,9 @@ module.exports = {
var mins = s;
if (format === 'ms') {
return pad(mins) + ':' + pad(secs) + '.' + pad(ms,3);
return pad(mins) + ':' + pad(secs);
} else {
return pad(mins);
return Math.round(mins,0);
}
},