Commit e729b2eb authored by flothoni's avatar flothoni

model.js; move call to set_first_clone inside a if condition

link to #2041
parent b99abe03
......@@ -1076,10 +1076,10 @@ 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])
}
}
// 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