Commit 856e52bf authored by marc duez's avatar marc duez
Browse files

export.js : code quality

parent 4323e3eb
Pipeline #226286 passed with stages
in 34 minutes and 21 seconds
......@@ -820,14 +820,19 @@ Report.prototype = {
},
getCloneExportColor : function(cloneID){
var color;
switch (this.colorMode) {
case "tag":
return this.m.tag[this.m.clone(cloneID).getTag()].color;
rcolor = this.m.tag[this.m.clone(cloneID).getTag()].color;
break;
case "colorBy":
color = this.m.clone(cloneID).getColor();
break;
default:
return this.m.clone(cloneID).getColor();
color = this.m.clone(cloneID).getColor();
break;
}
return color;
}
}
......
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