Fix a use of the wrong variable name.
This commit is contained in:
parent
4a4bb390e8
commit
f2e02e930d
1 changed files with 1 additions and 1 deletions
|
|
@ -907,7 +907,7 @@ function idlestr(ms) {
|
||||||
var hours = Math.floor(minutes / 60);
|
var hours = Math.floor(minutes / 60);
|
||||||
if (hours < 24)
|
if (hours < 24)
|
||||||
return String(hours) + " hr " + String(minutes % 60) + " min";
|
return String(hours) + " hr " + String(minutes % 60) + " min";
|
||||||
var days = Math.floor(days / 24);
|
var days = Math.floor(hours / 24);
|
||||||
if (days == 1)
|
if (days == 1)
|
||||||
return "1 day " + String(hours % 24) + " hr";
|
return "1 day " + String(hours % 24) + " hr";
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue