From b3ef2460b37c904096fe7bc9215c87dffd7ebf23 Mon Sep 17 00:00:00 2001 From: Xaver Maierhofer Date: Fri, 27 Oct 2017 21:17:43 +0200 Subject: [PATCH] [TASK] Remove outdated link filter --- lib/main.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) {