diff --git a/package/gluon-status-page/src/js/lib/gui/neighbours.js b/package/gluon-status-page/src/js/lib/gui/neighbours.js index 396c56fe..ff782506 100644 --- a/package/gluon-status-page/src/js/lib/gui/neighbours.js +++ b/package/gluon-status-page/src/js/lib/gui/neighbours.js @@ -198,11 +198,11 @@ function (Helper, SignalGraph, Signal) { notUpdated.delete(id) } - for (id in notUpdated) { + notUpdated.forEach(function (id) { managedNeighbours[id].views.forEach( function (d) { d.destroy() }) colors.push(managedNeighbours[id].color) delete managedNeighbours[id] - } + }) }