diff --git a/app/assets/javascripts/app/controllers/layout_ref.coffee b/app/assets/javascripts/app/controllers/layout_ref.coffee index d4ff5b290..c28b437e3 100644 --- a/app/assets/javascripts/app/controllers/layout_ref.coffee +++ b/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')