       @setupExportView()
       @setupEditTitleView()
       @setUpDragView() unless $('body').hasClass 'is-mobile'
+      @delegateEvents()
 
     @setupEditDescriptionView()
     @maybeSetEmpty()


  events:
    'click .delete-channel' : 'showConfirmation'
    'click .delete-channel--confirmation__yes' : 'deleteChannel'
    'click .delete-channel--confirmation__no'  : 'hideConfirmation'
    'click .connect_button': 'loadConnectView'

  initialize: (options)->
    @channel = options.channel
    @blocks = options.blocks


    window.location.href = @channel.href()

  showConfirmation: ->
    console.log 'showConfirmation'
    @$('.delete-channel--confirmation').addClass 'is-active'

  hideConfirmation: ->
