X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2Fstemmatology.git;a=blobdiff_plain;f=stemmaweb%2Froot%2Fjs%2Frelationship.js;h=807b5d4dc44b82ef5dab13bf2139b5799c50e0ee;hp=6d8f2422e0f764b2bb2e5fe3875f833bee305261;hb=4aa3aa3db8d45952a7ede6ffac2a06ec2d18c6e3;hpb=3c723b3ebaf55021ad0db37f11bb4b84e71538a7 diff --git a/stemmaweb/root/js/relationship.js b/stemmaweb/root/js/relationship.js index 6d8f242..807b5d4 100644 --- a/stemmaweb/root/js/relationship.js +++ b/stemmaweb/root/js/relationship.js @@ -137,7 +137,7 @@ function color_inactive ( el ) { // otherwise color it green. $(el).attr( {stroke:'green', fill:'#b3f36d'} ); $.each( reading_info['lexemes'], function ( idx, lex ) { - if( !lex['is_disambiguated'] ) { + if( !lex['is_disambiguated'] || lex['is_disambiguated'] == 0 ) { $(el).attr( {stroke:'orange', fill:'#fee233'} ); } });