From cfd41379266690e78afc62f5ae45520982777fb8 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 7 Dec 2014 15:52:34 +0200 Subject: model/graph: bug fix, s/foreach/forEach/, problem for selecting chainlink --- src/model/graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/model/graph.js') diff --git a/src/model/graph.js b/src/model/graph.js index 96a55808..1c27d7e9 100644 --- a/src/model/graph.js +++ b/src/model/graph.js @@ -157,7 +157,7 @@ function Graph() { } ret.links.push({type: 'exit', link: link}); if (link.__dst.type === "chainlink") { - links.foreach(function(link2) { + links.forEach(function(link2) { if (link.__dst.id === link2.__dst.id && link2.__dst.type === "chainlink" && link2.__dst.state !== "temp") { -- cgit v1.3.1