diff --git a/lib/main.js b/lib/main.js index 9d8c017..89322af 100644 --- a/lib/main.js +++ b/lib/main.js @@ -12,9 +12,7 @@ define(['moment', 'utils/router', 'leaflet', 'gui', 'helper', 'utils/language'], for (var i = 0; i < data.length; ++i) { nodes = nodes.concat(data[i].nodes); timestamp = data[i].timestamp; - links = links.concat(data[i].links.filter(function (d) { - return d.source !== undefined; - })); + links = links.concat(data[i].links); } nodes.forEach(function (node) {