     @setState showingSelector: state
 
 
-  selectBeatmap: (e) ->
+  selectBeatmap: (e) =>
     e.preventDefault()
 
     $.publish 'beatmap:select', id: parseInt(e.currentTarget.dataset.id, 10)
 
 
-  toggleSelector: (e) ->
+  toggleSelector: (e) =>
     e.preventDefault()
 
     @setSelector !@state.showingSelector

      el BeatmapDiscussions.BeatmapListItem, beatmap: beatmap, mode: 'version'


  hideSelector: (e) ->
    return unless @state.showingSelector
    return if $(e.target).closest('.js-beatmap-list-selector').length

    @setSelector false


  setSelector: (state) ->
    return if @state.showingSelector == state

    Blackout.toggle(state)

        @props.beatmaps.map @beatmapListItem


  beatmapListItem: (beatmap) =>
    menuItemClasses = "#{bn}__item"
    menuItemClasses += " #{bn}__item--current" if beatmap.id == @props.currentBeatmap.id

