[TASK] Remove outdated link filter

This commit is contained in:
Xaver Maierhofer 2017-10-27 21:17:43 +02:00 committed by Xaver Maierhofer
parent a9630ffa78
commit b3ef2460b3
No known key found for this signature in database
GPG Key ID: 7FDCE23FD2EC9FE8

View File

@ -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) {