diff options
| author | Alon Levy <alon@pobox.com> | 2015-04-13 14:06:29 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-13 14:06:29 +0200 |
| commit | 5bfc1efe4516ab27dca1315549655fcc5327a396 (patch) | |
| tree | 110201d789366154050e3ce330c46b006bc02a62 /src/client/view/layouts.js | |
| parent | 348ac301c8c7f1619c2f715208c5a7e09e26c73c (diff) | |
client search/completer: use '|' only for separation, append on enter from complete
Diffstat (limited to 'src/client/view/layouts.js')
| -rw-r--r-- | src/client/view/layouts.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/view/layouts.js b/src/client/view/layouts.js index 83fb16ac..a384ee4c 100644 --- a/src/client/view/layouts.js +++ b/src/client/view/layouts.js @@ -226,7 +226,7 @@ function(consts, $, d3, _) { d = _.object(_.pluck(nodes, "id"), nodes); console.log('zen off: restoring fixed for ' + _.size(nodes)); _.each(_.keys(layout._zen_mode__fixed), function (node_id) { - if (d[node_id] !== undefined) { + if (d[node_id] !== undefined && layout._zen_mode__fixed[node_id]) { d[node_id].fixed = layout._zen_mode__fixed[node_id]; } else { console.log('missing ' + node_id); |
