fixed hyperparams reset

This commit is contained in:
Max Robinson
2021-12-02 18:58:02 -06:00
parent 754703a935
commit f1897768bb

View File

@@ -249,8 +249,8 @@ class ControlPanel {
$('#food-blocks').change( function() { $('#food-blocks').change( function() {
Hyperparams.foodBlocksReproduction = this.checked; Hyperparams.foodBlocksReproduction = this.checked;
}); });
$('#reset-rules').click( function() { $('#reset-rules').click(() => {
this.setHyperparamDefaults; this.setHyperparamDefaults();
}); });
} }