diff --git a/lib/nodelist.js b/lib/nodelist.js index bd37a60..184f113 100644 --- a/lib/nodelist.js +++ b/lib/nodelist.js @@ -26,11 +26,11 @@ define(function () { tr.appendChild(th1) var th2 = document.createElement("th") - th2.textContent = "Firmware" + th2.textContent = "Uptime" tr.appendChild(th2) var th3 = document.createElement("th") - th3.textContent = "Uptime" + th3.textContent = "Clients" tr.appendChild(th3) thead.appendChild(tr) @@ -60,11 +60,11 @@ define(function () { } var td2 = document.createElement("td") - td2.textContent = "software" in d.nodeinfo ? d.nodeinfo.software.firmware.release : "" + showUptime(td2, d) row.appendChild(td2) var td3 = document.createElement("td") - showUptime(td3, d) + td3.textContent = "clients" in d.statistics ? d.statistics.clients : "" row.appendChild(td3) tbody.appendChild(row)