summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-11-09 13:03:15 +0200
committerAlon Levy <alon@pobox.com>2014-11-09 13:03:15 +0200
commit2833d766d2b4a04bb5f1a5b5fe35fbd0857c9393 (patch)
tree340bfb587a72f079ccb2ee37ce0401d3fc21861a
parent8c783c214af5a95c2976c9811172b646ab4b4bad (diff)
graph: fix forgotten s/graph/this/ in graph refactor (Fixes #127)
-rw-r--r--scripts/model/graph.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/model/graph.js b/scripts/model/graph.js
index e5ddab42..4bfcc9d5 100644
--- a/scripts/model/graph.js
+++ b/scripts/model/graph.js
@@ -327,7 +327,7 @@ function Graph(el) {
links[i].target = index2;
}
}
- graph.removeNode(index.id,null);
+ this.removeNode(index.id,null);
}
} else {
index.name = new_name;