diff --git a/js/intro/view/CellEntry.js b/js/intro/view/CellEntry.js index 54df0e7..29c18a1 100644 --- a/js/intro/view/CellEntry.js +++ b/js/intro/view/CellEntry.js @@ -21,7 +21,9 @@ class CellEntry { this.node = node; // @private {function} - this.visibilityListener = this.cell.appearsFilledProperty.linkAttribute( node, 'visible' ); + + this.visibilityListener = visible => {node.visible = visible;}; + this.cell.appearsFilledProperty.link( this.visibilityListener ); } /**