 
   isOpen: true
   browserWidth: 1280
-  chatHeight: 360
 
   constructor: ->
     super

    if fullscreen
      return @browserBody.height() - @chatHeader.outerHeight()
    else
      return @chatHeight - @chatHeader.outerHeight()

  changeDemoWebsite: (event) =>
    event.preventDefault() if event

    # fire both on enter and blur
    # but cache url
    return if @urlInput.val() is '' or @urlInput.val() is @urlCache
    @urlCache = @urlInput.val()


  toggleChat: =>
    @chat.toggleClass('is-open')
    @isOpen = @chat.hasClass('is-open')
    @updatePreview()

  new: (e) =>
    new App.ControllerGenericNew(
