summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-04-12 12:04:57 +0200
committerAlon Levy <alon@pobox.com>2015-04-12 12:04:57 +0200
commit8d16cbce9ec8aa139404f1823c4b68e0b4c1c02a (patch)
tree161a0f3ca882266ca5f70d0f6b7c010fec4eb5e2 /src/client
parenta62ac0625ed5b7846888029ea3946ebd6dd561e8 (diff)
client: fix broken space because of changed selection API
Diffstat (limited to 'src/client')
-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 6c2efa3e..5195312f 100644
--- a/src/client/view/graph_view.js
+++ b/src/client/view/graph_view.js
@@ -1009,7 +1009,7 @@ function GraphView(spec) {
}
function handle_space(e, node) {
- (e.shiftKey? selection.invert : selection.update)([node]);
+ (e.shiftKey? selection.invert_nodes : selection.select_nodes)([node]);
}
function handle_enter(e, node) {