diff --git a/js/common/view/BAMScreenView.js b/js/common/view/BAMScreenView.js index 5b53738d..bf5f3471 100644 --- a/js/common/view/BAMScreenView.js +++ b/js/common/view/BAMScreenView.js @@ -247,7 +247,7 @@ define( require => { kit.addedMoleculeEmitter.addListener( addedEmitterListener ); this.addedEmitterListeners[ kit.id ] = addedEmitterListener; - // Handle deleting metatdataLayer + // Handle deleting metadataLayer const removedEmitterListener = molecule => { removedMoleculeListener( molecule, kit ); }; diff --git a/js/common/view/MoleculeCollectingScreenView.js b/js/common/view/MoleculeCollectingScreenView.js index 8b3a6588..ac09fd20 100644 --- a/js/common/view/MoleculeCollectingScreenView.js +++ b/js/common/view/MoleculeCollectingScreenView.js @@ -106,6 +106,11 @@ define( require => { this.nextCollectionButton.dispose(); } ); this.addChild( this.nextCollectionButton ); + + // Show the next collection button after the dialog has been disposed + this.allFilledNode.isShowingProperty.lazyLink( isShowing => { + this.nextCollectionButton.visible = !isShowing; + } ); this.allFilledNode.show(); hasShownOnce = true; }