summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/model/graph.js2
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") {