diff options
| author | Owen <despito@MacBook-Pro-de-Despito.local> | 2014-08-08 18:27:45 +0300 |
|---|---|---|
| committer | Owen <despito@MacBook-Pro-de-Despito.local> | 2014-08-08 18:27:45 +0300 |
| commit | b5256213bd657f56fc3cfdb77414ff827c3f4cf1 (patch) | |
| tree | 2a373693be283c58f3872df40f8c60d4f5b8a109 /scripts/rhizicore.js | |
| parent | 372dacae3736e79799f3171ca2d06c0d8accabb9 (diff) | |
Redone AND connectors (#issue 27)
Diffstat (limited to 'scripts/rhizicore.js')
| -rw-r--r-- | scripts/rhizicore.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index d11f42cd..5a671c11 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -152,7 +152,7 @@ function myGraph(el) { this.addLink = function(sourceId, targetId, name, state) { var sourceNode = findNode(sourceId, null); var targetNode = findNode(targetId, null); - + if(name)if(name.replace(/ /g,"")==="and")state="temp"; if ((sourceNode !== undefined) && (targetNode !== undefined)) { links.push({ "source": sourceNode, |
