summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-09-30 13:35:31 +0300
committerAlon Levy <alon@pobox.com>2014-09-30 13:35:31 +0300
commit7fb21031929b65c2405046de09618fce9d4ba4b3 (patch)
tree3f9083120174432402df4feab391d06541767020 /scripts
parent5c5f9a8cfe3edd6f1df31ab00885e58e4a36bfd1 (diff)
Revert "Fix #63 - don't move graph on click (possible side effects?)"
This reverts commit 5c5f9a8cfe3edd6f1df31ab00885e58e4a36bfd1. reopen #63 this fix causes regressions - the update function does two things: 1. updates link & node graphical representation 2. causes the force layout to reposition links and edges (using tick to selectively do that) I need to change #2 without affecting #1.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rhizicore.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js
index 4649098b..ca1265fa 100644
--- a/scripts/rhizicore.js
+++ b/scripts/rhizicore.js
@@ -905,6 +905,7 @@ function mousedown() {
$('.editlinkinfo').css('left', 0);
graph.removeHighlight();
$('.info').fadeOut(300);
+ graph.update();
}
function AddedUnique(newnode) {