mirror of https://github.com/cppla/ServerStatus
defaut load_1 show
parent
039a2cce27
commit
f86c261efc
|
@ -187,7 +187,7 @@ function uptime() {
|
|||
|
||||
// Load: default load_1, you can change show: load_1, load_5, load_15
|
||||
if(result.servers[i].load == -1) {
|
||||
TableRow.children["load"].innerHTML = "–";
|
||||
TableRow.children["load"].innerHTML = "–";
|
||||
} else {
|
||||
TableRow.children["load"].innerHTML = result.servers[i].load_1.toFixed(2);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue