mirror of
https://github.com/freifunk-gluon/packages.git
synced 2024-06-19 23:28:32 +02:00
10 lines
187 B
JavaScript
10 lines
187 B
JavaScript
function update_node(id, ip, hostname) {
|
|
var el = document.getElementById(id);
|
|
|
|
if (!el)
|
|
return;
|
|
|
|
el.href = "http://[" + ip + "]/";
|
|
el.textContent += " (" + hostname + ")";
|
|
}
|