From e82a59bb10bd25ed2bd73f32077baa2f1fc1b8d9 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 28 Dec 2014 16:07:09 +0200 Subject: Fixes #238 - tab works again Broken during recent overzealous precondition addition --- src/client/model/graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/model/graph.js') diff --git a/src/client/model/graph.js b/src/client/model/graph.js index c3e5209b..64327f6a 100644 --- a/src/client/model/graph.js +++ b/src/client/model/graph.js @@ -593,7 +593,7 @@ function Graph() { this._editProperty = function(id, state, prop, value) { var n = find_node__by_id(id); - if (state != n.state){ + if (state !== null && state != n.state){ return false; } -- cgit v1.3.1