     @mainView?.remove()
     @mainView = view
     if @mainView?
-      @.$('.main').html @mainView.el
+      @$('.main').html @mainView.el
     this
 
   showHome: =>


  render: =>
    @$el.html @template()
    @conversationListView.setElement @.$('.conversations')
    this

class AppView extends Backbone.View

  render: =>
    @$el.html @template()
    if @mainView?
      @$('.main').html @mainView.render().el
    @$('.aside').html @navigationView.render().el
    this

  handleLinkClick: (event) =>
