diff options
| author | Alon Levy <alon@pobox.com> | 2014-12-07 15:52:34 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-12-07 15:52:34 +0200 |
| commit | cfd41379266690e78afc62f5ae45520982777fb8 (patch) | |
| tree | 0530ea5570ba12a6fcef01dc7227a6643dbd100c /src | |
| parent | 3bdd7b09935faff8a9edae9b89ff4b1a6c1d35cd (diff) | |
model/graph: bug fix, s/foreach/forEach/, problem for selecting chainlink
Diffstat (limited to 'src')
| -rw-r--r-- | src/model/graph.js | 2 |
1 files changed, 1 insertions, 1 deletions
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") { |
