 class CommentViewHeader extends JView
 
-  constructor:(options = {}, data)->
+  constructor: (options = {}, data) ->
 
     options.cssClass       = "show-more-comments in"
     options.itemTypeString = options.itemTypeString or "comments"
 
     super options, data
-
-    data = @getData()
 
     @maxCommentToShow = options.maxCommentToShow or 3
     @oldCount         = data.repliesCount

    else
      @show()

  hide:->
    @unsetClass "in"
    super

  show:->
    @setClass "in"
    super

  pistachio:->
    """
      {{> @allItemsLink}}
      {{> @newItemsLink}}
    """
        list.emit "AllCommentsLinkWasClicked", this

    @liveUpdate = KD.getSingleton('activityController').flags?.liveUpdates or off

    KD.getSingleton('activityController').on "LiveStatusUpdateStateChanged", (newstate)=>

      # log "Live update state changed to", newstate
      @liveUpdate = newstate


  ownCommentArrived: ->

    # Get correct number of items in list from controller
    # I'm not sure maybe its not a good idea
