 
           if !@props.preview
             div className: "#{bn}__actions",
-              ['up', 'down'].map (direction) =>
+              ['up', 'down'].map (type) =>
                 div
-                  key: direction
-                  direction: direction
+                  key: type
+                  type: type
                   className: "#{bn}__action"
-                  onMouseOver: @showVotes
-                  onTouchStart: @showVotes
-                  @displayVote direction
-                  @voterList direction
+                  onMouseOver: @showVoters
+                  onTouchStart: @showVoters
+                  @displayVote type
+                  @voterList type
 
               button
                 className: "#{bn}__action #{bn}__action--with-line"

      if @props.discussion.votes[type] < 1
        osu.trans "beatmaps.discussions.votes.none.#{type}"
      else
        [
          div className: 'user-list-popup__title',
            osu.trans("beatmaps.discussions.votes.latest.#{type}")
            ':'


    target._tooltip = true

    type = target.getAttribute('type')

    @tooltips[type] =
      $(target).qtip
        style:
          classes: 'user-list-popup'
          def: false
          tip: false
        content:
          text: (event, api) => @getTooltipContent(type)
        position:
          at: 'top center'
          my: 'bottom center'
          viewport: $(window)
        show:
          delay: 100
          ready: true
          solo: true
          effect: -> $(this).fadeTo(110, 1)
        hide:
          fixed: true
          delay: 500
          effect: -> $(this).fadeTo(250, 0)


  doVote: (e) =>
    LoadingOverlay.show()
