   computeTextCollapseHeight: ->
     @text.css 'height', 0
 
-    collapse_or_modal_toggle =
+    collapseOrModalToggle =
       if @collapseToggle.is(':visible')
         @collapseToggle
       else
         @modalToggle
 
-    diff = collapse_or_modal_toggle.offset().top - @text.offset().top - 30
+    diff = collapseOrModalToggle.offset().top - @text.offset().top - 30
     if diff < 160 then 160 else diff
 
   computeTextFullHeight: ->

    @text           = $('.text', @el).first()
    @collapsedText  = $('.text.collapse', @el)
    @collapseToggle = $('.toggle-wrapper svg', @el)

    if @collapsedText.length
      @collapsedText.collapse(toggle: false)

      @text.dotdotdot(watch: 'window')
      @fitText()

  refresh: ->
    @closeCollapse()
    setTimeout (=> @fitText()), 300

  fitText: =>
    return if @collapsedText.length
