Commit 58da0bbc authored by Thonier Florian's avatar Thonier Florian

model.js; remove previous modifications

link to #2041
parent 50f7e085
......@@ -950,7 +950,6 @@ changeAlleleNotation: function(alleleNotation) {
this.orderedSelectedClones.splice(index, 1);
this.clone(cloneID).select = false;
this.updateElemStyle([cloneID]);
segment.set_first_clone(this.orderedSelectedClones[0])
}
console.log("orderedSelectedClones: " + this.orderedSelectedClones.join(","));
},
......@@ -1076,8 +1075,6 @@ changeAlleleNotation: function(alleleNotation) {
var pos=this.orderedSelectedClones.indexOf(cloneID);
if (pos>-1){
this.orderedSelectedClones.splice(pos,1);
// Here we should compute again segment.first_clone value, in case it was this one
segment.set_first_clone(this.orderedSelectedClones[0])
}
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment