show number of neighbours

This commit is contained in:
Nils Schneider 2015-03-22 16:00:34 +01:00
parent 4ae53c05e9
commit 7af8c67260

View File

@ -458,7 +458,7 @@ function showNodeinfo(config, gotoAnything, d) {
if (d.neighbours.length > 0) { if (d.neighbours.length > 0) {
var h3 = document.createElement("h3") var h3 = document.createElement("h3")
h3.textContent = "Nachbarknoten" h3.textContent = "Nachbarknoten (" + d.neighbours.length + ")"
el.appendChild(h3) el.appendChild(h3)
var table = document.createElement("table") var table = document.createElement("table")