Template:Team:Bonn:Network

From 2013.igem.org

(Difference between revisions)
Line 432: Line 432:
       this.style.backgroundColor = "blue";
       this.style.backgroundColor = "blue";
       $(".node-"+this.mainnode+"-"+this.type+"-"+this.i).css({"width":"3px","height":"3px"});
       $(".node-"+this.mainnode+"-"+this.type+"-"+this.i).css({"width":"3px","height":"3px"});
-
       if(general.mainnode && general.parentID) {
+
       if(general.mainnode) {
-
        $(".node-"+general.parentID+"-parent-"+general.mainnode).css({"width":"3px","height":"3px"});
+
        if(general.parentID) {
 +
        $(".node-"+general.parentID+"-parent-"+general.mainnode).css({"width":"3px","height":"3px"});
 +
        }
       }
       }
       if(this.type=="parent") {
       if(this.type=="parent") {

Revision as of 08:53, 1 October 2013