diff --git a/js/faradays-law/view/MagnetNodeWithField.js b/js/faradays-law/view/MagnetNodeWithField.js index d052c27e..0b93267f 100644 --- a/js/faradays-law/view/MagnetNodeWithField.js +++ b/js/faradays-law/view/MagnetNodeWithField.js @@ -214,7 +214,7 @@ class MagnetNodeWithField extends Node { // Set up keyboard grab/drag interaction. Note that, while GrabDragInteraction supports management of the drag cue, // this capability is not used here, and the drag cue is managed elsewhere. That's because the drag cue (the four // arrows) needed to be visible at times that were not entirely under the control of GrabDragInteraction. - const grabDragInteraction = new GrabDragInteraction( draggableNode, keyboardDragListener,{ + const grabDragInteraction = new GrabDragInteraction( draggableNode, keyboardDragListener, { objectToGrabString: barMagnetString, listenersForDragState: [ magnetJumpKeyboardListener ], listenersForGrabState: [ focusListener ],