diff options
| author | Alon Levy <alon@pobox.com> | 2015-01-11 15:59:58 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-01-11 16:05:13 +0200 |
| commit | f2c465ec65d3abaa956dba9ee6134ad0070a0d7e (patch) | |
| tree | 3837cbb38d0ce08daa5f9298c70b90e5602d104d /src | |
| parent | fc6a03e41676babe740e4ca0ccf5929defd7c18d (diff) | |
client/graph_view: remove unused parameter in showNodeInfo
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/view/graph_view.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index 99af3edf..13387c72 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -124,7 +124,7 @@ function GraphView(spec) { update_view(relayout); }); - function showNodeInfo(node, i) { + function showNodeInfo(node) { var closed = false; util.assert(!temporary, "cannot showNodeInfo on a temporary graph"); @@ -362,7 +362,7 @@ function GraphView(spec) { if (!temporary) { svgInput.enable(this, d); selection.update([d]); - showNodeInfo(this.parentNode.node, i); + showNodeInfo(graph.find_node__by_id(this.parentNode.id)); } d3.event.stopPropagation(); }); @@ -400,7 +400,7 @@ function GraphView(spec) { d3.event.stopPropagation(); selection.update([d]); if(!temporary) { - showNodeInfo(d, i); + showNodeInfo(d); } }); circle.append("svg:image") |
