diff options
| author | Alon Levy <alon@pobox.com> | 2014-12-08 11:28:57 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-12-08 11:37:43 +0200 |
| commit | 16db7f005e334a41c3485b0a8c63f7d757913c72 (patch) | |
| tree | 574b82c0e13b9321caef5c11dfa67da2c5676597 /src/view/selection.js | |
| parent | d0c940cdd17ec6c05bdfd61317ab5c77af605777 (diff) | |
add a new state: "related"
Diffstat (limited to 'src/view/selection.js')
| -rw-r--r-- | src/view/selection.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/selection.js b/src/view/selection.js index 1458d154..4176676a 100644 --- a/src/view/selection.js +++ b/src/view/selection.js @@ -57,7 +57,7 @@ function connectedComponent(nodes) { var node_selected = function(node) { return node.state == 'chosen' || node.state == 'enter' || node.state == 'exit' || node.state == 'selected' - || node.state == 'temp'; + || node.state == 'temp' || node.state == 'related'; } var selected_class = function(node) { |
