From 6055e20403b1b3a48f7d40c642e06e8a90ca2074 Mon Sep 17 00:00:00 2001 From: Alex de Mulder Date: Mon, 6 Jan 2014 17:38:30 +0100 Subject: [PATCH] removed _updateNodeIndexList from _setNodes. This is handled by _addNode --- src/graph/Graph.js | 1 - vis.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/graph/Graph.js b/src/graph/Graph.js index a9367c76..470584c2 100644 --- a/src/graph/Graph.js +++ b/src/graph/Graph.js @@ -1079,7 +1079,6 @@ Graph.prototype._setNodes = function(nodes) { var ids = this.nodesData.getIds(); this._addNodes(ids); } - this._updateNodeIndexList("_setNodes"); this._updateSelection(); }; diff --git a/vis.js b/vis.js index 1b691f28..7b59bba1 100644 --- a/vis.js +++ b/vis.js @@ -15045,7 +15045,6 @@ Graph.prototype._setNodes = function(nodes) { var ids = this.nodesData.getIds(); this._addNodes(ids); } - this._updateNodeIndexList("_setNodes"); this._updateSelection(); };