From 79fbb7cb9758786693aabbb0d9c555e7838198ff Mon Sep 17 00:00:00 2001 From: jbphet Date: Mon, 22 Feb 2021 16:50:04 -0700 Subject: [PATCH] minor code cleanup --- js/balloons-and-static-electricity/view/BalloonNode.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/balloons-and-static-electricity/view/BalloonNode.js b/js/balloons-and-static-electricity/view/BalloonNode.js index f8d87d1f..935611d9 100644 --- a/js/balloons-and-static-electricity/view/BalloonNode.js +++ b/js/balloons-and-static-electricity/view/BalloonNode.js @@ -264,7 +264,7 @@ class BalloonNode extends Node { // pdom - when the balloon charge, position, or model.showChargesProperty changes, the balloon needs a new // description for assistive technology const updateAccessibleDescription = () => { - this.descriptionContent = this.describer.getBalloonDescription( model ); + this.descriptionContent = this.describer.getBalloonDescription(); }; model.positionProperty.link( updateAccessibleDescription ); model.chargeProperty.link( updateAccessibleDescription ); @@ -357,7 +357,7 @@ class BalloonNode extends Node { ] ); // update the drag bounds when wall visibility changes - globalModel.wall.isVisibleProperty.link( isVisible => { + globalModel.wall.isVisibleProperty.link( () => { this.keyboardDragHandler._dragBounds = this.getDragBounds(); } );