summaryrefslogtreecommitdiff
path: root/src/client/buttons.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-04-12 14:13:57 +0200
committerAlon Levy <alon@pobox.com>2015-04-12 14:13:59 +0200
commit7c5c6a917c8bce9d538c51becaf9a06fb1741bf5 (patch)
treef60cb36ddca2e612e44756defcaafda9c39a8a50 /src/client/buttons.js
parent8d16cbce9ec8aa139404f1823c4b68e0b4c1c02a (diff)
client/selection: rename: selected & related
selected nodes - nodes the user selected directly, via search or click. related - nodes that we choose to show the user as a result of the selection made.
Diffstat (limited to 'src/client/buttons.js')
-rw-r--r--src/client/buttons.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/buttons.js b/src/client/buttons.js
index 59601762..a7b12ffc 100644
--- a/src/client/buttons.js
+++ b/src/client/buttons.js
@@ -250,7 +250,7 @@ $('#btn_zoom_in').asEventStream('click')
});
$('#btn_zoom_to_selection').asEventStream('click')
- .map(selection.selected_nodes)
+ .map(selection.related)
.onValue(function (selected) {
rz_core.main_graph_view.nodes__user_visible(selected, true);
});