diff --git a/js/common/view/NaturalSelectionTimeControlNode.js b/js/common/view/NaturalSelectionTimeControlNode.js index e034d5c7..6d9cce70 100644 --- a/js/common/view/NaturalSelectionTimeControlNode.js +++ b/js/common/view/NaturalSelectionTimeControlNode.js @@ -81,7 +81,7 @@ class NaturalSelectionTimeControlNode extends HBox { } } ); - this.enabledProperty.link( SunConstants.getComponentEnabledListener( this ) ); + this.enabledProperty.link( enabled => SunConstants.componentEnabledListener( enabled, this ) ); } /**