Browse Source

chat ticket: boxFade: auto adjust height

Felix Niklas 9 years ago
parent
commit
121d96a3b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/assets/javascripts/app/controllers/layout_ref.coffee

+ 1 - 1
app/assets/javascripts/app/controllers/layout_ref.coffee

@@ -2194,7 +2194,6 @@ class ChatToTicketRef extends App.ControllerContent
     super
     @render()
     @scrollToBottom()
-    @boxFade.height @chatBox.outerHeight()
     @placeBoxFade()
 
   render: ->
@@ -2204,6 +2203,7 @@ class ChatToTicketRef extends App.ControllerContent
     @scrollHolder.scrollTop(@scrollHolder.prop('scrollHeight'))
 
   placeBoxFade: =>
+    @boxFade.height @chatBox.outerHeight()
     y1 = @attachments.offset().top - @boxFade.offset().top
 
     @boxFade.html App.view('layout_ref/boxFade')