diff --git a/js/multiple-cells/view/FluorescentCellsPictureDialog.js b/js/multiple-cells/view/FluorescentCellsPictureDialog.js index 01cdc5ac..2fc249cb 100644 --- a/js/multiple-cells/view/FluorescentCellsPictureDialog.js +++ b/js/multiple-cells/view/FluorescentCellsPictureDialog.js @@ -73,34 +73,9 @@ define( function( require ) { this.addInputListener( new ButtonListener( { fire: self.hide.bind( self ) } ) ); - this.shownProperty = new Property( false ); - - this.shownProperty.lazyLink( function( shown ) { - if ( shown ) { - Dialog.prototype.show.call( self ); - } - else { - Dialog.prototype.hide.call( self ); - } - } ); } geneExpressionEssentials.register( 'FluorescentCellsPictureDialog', FluorescentCellsPictureDialog ); - return inherit( Dialog, FluorescentCellsPictureDialog, { - - /** - * @public - */ - hide: function() { - this.shownProperty.value = false; - }, - - /** - * @public - */ - show: function() { - this.shownProperty.value = true; - } - } ); + return inherit( Dialog, FluorescentCellsPictureDialog ); } );