Fix a use of the wrong variable name.

This commit is contained in:
John "Elwin" Edwards 2015-01-21 17:21:35 -05:00
parent 4a4bb390e8
commit f2e02e930d

View file

@ -907,7 +907,7 @@ function idlestr(ms) {
var hours = Math.floor(minutes / 60);
if (hours < 24)
return String(hours) + " hr " + String(minutes % 60) + " min";
var days = Math.floor(days / 24);
var days = Math.floor(hours / 24);
if (days == 1)
return "1 day " + String(hours % 24) + " hr";
else