diff options
| author | Alon Levy <alon@pobox.com> | 2015-04-13 13:11:50 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-13 13:11:50 +0200 |
| commit | b573087b299ead1ce60999f16f1ee0efaaeb6d48 (patch) | |
| tree | 2e2efc1547d3de62a5962db58457c587bb5addae /src/client/view/selection.js | |
| parent | f11b383ad2d47e6a06487f345095b8d0c67220ba (diff) | |
client: fix regression with temporary graph appearance: fixes #481
Diffstat (limited to 'src/client/view/selection.js')
| -rw-r--r-- | src/client/view/selection.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/view/selection.js b/src/client/view/selection.js index 6c4c3653..73b11e97 100644 --- a/src/client/view/selection.js +++ b/src/client/view/selection.js @@ -181,7 +181,7 @@ var link_related = function(link) { } var class__node = function(node, temporary) { - return !temporary && related.length > 0 || selected.length > 0 ? + return (!temporary && (related.length > 0 || selected.length > 0)) ? (node_first_selected(node) ? 'first-selected' : (node_selected(node) ? 'selected' : (node_related(node) ? "related" : "notselected"))) : ""; |
