diff options
| author | Alon Levy <alon@pobox.com> | 2015-01-06 21:40:40 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-01-06 21:40:40 +0200 |
| commit | 546ee33efaaa0df3e121a7ba5c16bc3aa1a0aeeb (patch) | |
| tree | f5e5743f5d9cab413efae79f4a867161cd955e45 /src/client/view/selection.js | |
| parent | a7d4e65fa944e2174f6f20a20c3ad0b37c2c0304 (diff) | |
client: adapt to new node_id_set_add and link_id_set_add, renames all around
Diffstat (limited to 'src/client/view/selection.js')
| -rw-r--r-- | src/client/view/selection.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/view/selection.js b/src/client/view/selection.js index 4d8495a5..28c5e9a8 100644 --- a/src/client/view/selection.js +++ b/src/client/view/selection.js @@ -18,13 +18,13 @@ var selected_nodes = [], function listen_on_diff_bus(diffBus) { diffBus - .filter(".node_set_rm") + .filter(".node_id_set_rm") .onValue(function (diff) { var node_node_cmp = (function (a, b) { return a.id > b.id; }), node_id_cmp = (function (a, b) { return a.id === b ? 0 : (a.id > b ? 1 : -1); }); updateSelectedNodesBus(sortedArrayDiff(selected_nodes.sort(node_node_cmp), - diff.node_set_rm.sort(), node_id_cmp)); + diff.node_id_set_rm.sort(), node_id_cmp)); }); } |
