diff --git a/src/js/rulesAssistantOptions.js b/src/js/rulesAssistantOptions.js index db452df01c2f13b20e2bf57f5ef036277dfd8af3..cbd504c6bd4f9c014160384662181975610bf9fe 100644 --- a/src/js/rulesAssistantOptions.js +++ b/src/js/rulesAssistantOptions.js @@ -1154,7 +1154,7 @@ window.rulesAssistantOptions = (function() { ["Waist", "waist"], ["Amputation", "amp"], ]; - this.fnlist = new List("Activation function", items); + this.fnlist = new List("Activation function", items, false); this.fnlist.setValue(["between", "belongs"].includes(current_rule.condition.function) ? current_rule.condition.data.attribute : current_rule.condition.function); this.fnlist.onchange = (value) => this.fnchanged(value); this.appendChild(this.fnlist); @@ -4249,7 +4249,7 @@ window.rulesAssistantOptions = (function() { class PitAssignmentList extends ListSelector{ constructor() { - const items =[["remove from pit",0],["assign to pit",1]] + const items =[["remove from pit", 0], ["assign to pit", 1]]; super("Pit assignment", items); this.setValue(current_rule.set.pitRules); this.onchange = (value) => current_rule.set.pitRules = value;