From: Joris van Zundert Date: Tue, 2 Jul 2013 10:44:44 +0000 (+0200) Subject: Full one note detachment proof stage. On to multiple nodes. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=931ed23636fb3d5735ab5d026a72a289582b4dfa;p=scpubgit%2Fstemmaweb.git Full one note detachment proof stage. On to multiple nodes. --- diff --git a/root/js/relationship.js b/root/js/relationship.js index 4642e5e..c4279ac 100644 --- a/root/js/relationship.js +++ b/root/js/relationship.js @@ -722,7 +722,7 @@ function detach_node( readingsgohere ) { duplicate_node.children( 'title' ).text( node_id ); // Add the node and all new edges into the graph - var graph_root = $('#svgenlargement svg g'); + var graph_root = $('#svgenlargement svg g.graph'); graph_root.append( duplicate_node ); $.each( detached_edges, function( index, edge ) { edge.g_elem.attr( 'id', ( edge.g_elem.attr( 'id' ) + "_0" ) );