Commit b3347e70 authored by Mikaël Salson's avatar Mikaël Salson

model.js: variable name clash

Does jshint know variable scope?
parent 19c55835
......@@ -970,9 +970,9 @@ changeAlleleNotation: function(alleleNotation) {
if (!this.clone(i).split) {
for (var j = 0; j < this.clusters[i].length; j++) {
seq = this.clusters[i][j]
var clone = this.clone(seq);
clone.disable();
if (j > 0 && clone.isSelected())
var subclone = this.clone(seq);
subclone.disable();
if (j > 0 && subclone.isSelected())
// Unselect all subclones
this.unselect(seq);
}
......
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