some more look and feel tweaks
[scpubgit/stemmatology.git] / TreeOfTexts / root / js / interaction.js
index d3edfe5..68ccd34 100644 (file)
@@ -5,7 +5,7 @@ $(document).ready(function() {
     row_triggered = true;
     $('ellipse').attr( {stroke:'black', fill:'#fff'} );
     $(this).parent().nextAll('.clickable').children('span').click();
-    $('tr.active_variant_row').find('span').removeClass( 'active_variant_cell' );
+    $('tr.active_variant_row').find('td').removeClass( 'active_variant_cell' );
     row_triggered = false;
   });
 })
@@ -17,7 +17,7 @@ function color_nodes( column_index, arr_node_ids, arr_greynode_ids ) {
     $('.node').children('title').filter( function(index) {
       return $(this).text() == value;
     }).siblings('ellipse').each( function( index ) {
-        $(this).attr( {stroke:'black', fill:'#eee'} );
+        $(this).attr( {stroke:'black', fill:'#444'} );
       });
   });
   jQuery.each( arr_node_ids, function(index,value) {