mirror of
https://github.com/Readarr/Readarr
synced 2026-05-08 21:13:58 +02:00
Fix Track and Album Format Issues on Artist Page (#49)
Fix Track and Album Format Issues on Artist Page
This commit is contained in:
parent
a5ac4ed37a
commit
87f13e5e9c
2 changed files with 5 additions and 2 deletions
|
|
@ -304,6 +304,9 @@
|
||||||
.track-explicit-cell {
|
.track-explicit-cell {
|
||||||
width : 100px;
|
width : 100px;
|
||||||
}
|
}
|
||||||
|
.track-duration-cell {
|
||||||
|
width : 100px;
|
||||||
|
}
|
||||||
|
|
||||||
.track-title-cell {
|
.track-title-cell {
|
||||||
cursor : pointer;
|
cursor : pointer;
|
||||||
|
|
|
||||||
|
|
@ -83,9 +83,9 @@ module.exports = {
|
||||||
var mins = s;
|
var mins = s;
|
||||||
|
|
||||||
if (format === 'ms') {
|
if (format === 'ms') {
|
||||||
return pad(mins) + ':' + pad(secs) + '.' + pad(ms,3);
|
return pad(mins) + ':' + pad(secs);
|
||||||
} else {
|
} else {
|
||||||
return pad(mins);
|
return Math.round(mins,0);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue