mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 05:31:15 -07:00
Add additional info when hovering over activity pane.
This commit is contained in:
parent
2221697c20
commit
887c61a80b
4 changed files with 72 additions and 4 deletions
|
@ -253,7 +253,6 @@ String.prototype.toProperCase = function () {
|
|||
|
||||
function millisecondsToMinutes(ms, roundToMinute) {
|
||||
|
||||
console.log("Ms: " + ms)
|
||||
if (ms > 0) {
|
||||
seconds = ms / 1000;
|
||||
minutes = seconds / 60;
|
||||
|
@ -270,7 +269,10 @@ function millisecondsToMinutes(ms, roundToMinute) {
|
|||
}
|
||||
return output;
|
||||
} else {
|
||||
return '0';
|
||||
if (roundToMinute) {
|
||||
return '0';
|
||||
} else {
|
||||
return '0:00';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue