                   mode: @props.score.beatmap.mode
                   user: @props.score.user_id
           'data-turbolinks': false
-          onClick: @onClick
+          onClick: @toggle
           osu.trans 'users.show.extra.top_ranks.download_replay'

      @props.onHide?()


  onClick: =>
    @setState active: !@state.active
    @props.onShow?()


  render: =>

      button
        className: 'play-detail-menu__button'
        type: 'button'
        onClick: @toggle
        i className: 'fas fa-ellipsis-v'

      @renderMenu()
