From: Joris van Zundert Date: Thu, 18 Jul 2013 04:37:40 +0000 (-0500) Subject: Small change to fix temporary edges of merges not always being removed. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0c4354f64bfe31724f55899acbceb27224ffefcb;p=scpubgit%2Fstemmaweb.git Small change to fix temporary edges of merges not always being removed. --- diff --git a/root/js/relationship.js b/root/js/relationship.js index c405305..6eb672f 100644 --- a/root/js/relationship.js +++ b/root/js/relationship.js @@ -779,7 +779,7 @@ function merge_nodes( source_node_id, target_node_id, consequences ) { merge_node( source_node_id, target_node_id ); if( consequences.checkalign != null ) { $.each( consequences.checkalign, function( index, node_ids ) { - temp_relation = draw_relation( node_ids[0], node_ids[1], "#89a02c" ); + var temp_relation = draw_relation( node_ids[0], node_ids[1], "#89a02c" ); var sy = parseInt( temp_relation.children('path').attr('d').split('C')[0].split(',')[1] ); var ey = parseInt( temp_relation.children('path').attr('d').split(' ')[2].split(',')[1] ); var yC = ey + (( sy - ey )/2);