       @_openVoteDownPopup()
       @model.disbelieve()
 
-  _open_vote_popup: (selector, view_klass) ->
+  _open_vote_popup: (selector, contentView) ->
     return if @popoverOpened selector
 
     @popoverResetAll()

      side: @_side()
      align: 'top'
      fadeTime: 200
      contentView: new view_klass model: @model

  _side: ->
    if @model.get('type') == 'believes'

  _openVoteUpPopup: ->
    return unless @_canShowPopover()

    @_open_vote_popup '.js-up', new FactRelationVoteUpView model: @model

  _openVoteDownPopup: ->
    return unless @_canShowPopover()

    @_open_vote_popup '.js-down', new FactRelationVoteDownView model: @model

  _canShowPopover: ->
    @model instanceof FactRelation && Factlink.Global.can_haz['vote_up_down_popup']
