From dbc25daead0ec6050e06bd7dd67711d395d09a1c Mon Sep 17 00:00:00 2001 From: Kyra Zimmer Date: Wed, 30 Sep 2015 18:00:23 +0200 Subject: [PATCH 1/2] Update main.js --- lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.js b/lib/main.js index 4f2aab4..2c728a1 100644 --- a/lib/main.js +++ b/lib/main.js @@ -31,7 +31,7 @@ function (moment, Router, L, GUI, numeral) { graphnodes[d.nodeinfo.node_id] = d }) - var graph = dataGraph.batadv + var graph = dataGraph.data || dataGraph.batadv graph.nodes.forEach( function (d) { if (d.node_id in graphnodes) From e157b504b55bbfc9e5ec4d0cd824134749604578 Mon Sep 17 00:00:00 2001 From: Kyra Zimmer Date: Wed, 30 Sep 2015 18:45:58 +0200 Subject: [PATCH 2/2] Update main.js --- lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.js b/lib/main.js index 2c728a1..6b7b481 100644 --- a/lib/main.js +++ b/lib/main.js @@ -31,7 +31,7 @@ function (moment, Router, L, GUI, numeral) { graphnodes[d.nodeinfo.node_id] = d }) - var graph = dataGraph.data || dataGraph.batadv + var graph = dataGraph.routedmesh || dataGraph.batadv graph.nodes.forEach( function (d) { if (d.node_id in graphnodes)