From 98ee8f131bc0d0a7fadfdfed65f70b210ed18bc8 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Mon, 4 Jun 2012 17:53:53 +0200 Subject: [PATCH] show primary mac in infobox --- html/force.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/html/force.js b/html/force.js index f4b0fbe..e9e17d5 100644 --- a/html/force.js +++ b/html/force.js @@ -148,7 +148,10 @@ function render_graph(type) { .text(d.name); nodeinfo.append("p") - .text(d.macs); + .text("primary: " + d.id); + + nodeinfo.append("p") + .text("macs: " + d.macs); nodeinfo.append("p") .text(d.gps);