From 121d96a3b9c5dc29fd3971fc52db123ff0d08aec Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Fri, 15 Jan 2016 10:37:10 +0100 Subject: [PATCH] chat ticket: boxFade: auto adjust height --- app/assets/javascripts/app/controllers/layout_ref.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')