summaryrefslogtreecommitdiff
path: root/src/client/view/graph_view.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-01-11 16:04:09 +0200
committerAlon Levy <alon@pobox.com>2015-01-11 16:05:13 +0200
commitb60be8cc54af6d32d87e40a43182d3d01a7fe1b8 (patch)
tree9e817265f6c0f11919d776737c95c86d1160b8e5 /src/client/view/graph_view.js
parentf2c465ec65d3abaa956dba9ee6134ad0070a0d7e (diff)
client/selection: add link_selected, use it for linktext
Diffstat (limited to 'src/client/view/graph_view.js')
-rw-r--r--src/client/view/graph_view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js
index 13387c72..6927c525 100644
--- a/src/client/view/graph_view.js
+++ b/src/client/view/graph_view.js
@@ -335,7 +335,7 @@ function GraphView(spec) {
}
});
linktext.each(function (d) {
- if (selection.node_selected(d)) {
+ if (selection.link_selected(d)) {
ontop.push(this);
}
});