()
| 138 | } |
| 139 | |
| 140 | onHidden () { |
| 141 | super.onHidden() |
| 142 | for (const subviewKey in this.subviews) { |
| 143 | const subview = this.subviews[subviewKey]; if (typeof subview.onHidden === 'function') { |
| 144 | subview.onHidden() |
| 145 | } |
| 146 | } |
| 147 | this.playSound('game-menu-close') |
| 148 | return Backbone.Mediator.publish('music-player:exit-menu', {}) |
| 149 | } |
| 150 | |
| 151 | onClickHintsButton () { |
| 152 | if (!this.options.hintsState) { return } |