summaryrefslogtreecommitdiff
path: root/src/client/view
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-04-08 20:16:02 +0300
committerAlon Levy <alon@pobox.com>2015-04-09 06:40:00 +0300
commitc81039c069fc2b74e2a63459dbf7494f1ba163d2 (patch)
tree8477793f95b30d4e7298ba91a54a8ab1258f4bee /src/client/view
parent80ad946ad9b7a0537be959b2d1d19d89849a6d63 (diff)
client: graph_view: handle no filter (temporary graph). regresion #461 fixed
Diffstat (limited to 'src/client/view')
-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 a6a91c23..e69bacc9 100644
--- a/src/client/view/graph_view.js
+++ b/src/client/view/graph_view.js
@@ -182,7 +182,7 @@ function GraphView(spec) {
update_window_size();
function node__is_shown(d) {
- var state = filter_states[d.type];
+ var state = filter_states && filter_states[d.type];
return temporary || state === undefined || state;
}