From a1dd76ffd61a62609d0a2e7befc929ad36e31641 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 15 Oct 2016 21:29:45 +0200 Subject: [PATCH] Fixed overflow of event binding (because super was to late). --- .../app/controllers/ticket_zoom/article_view.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/controllers/ticket_zoom/article_view.coffee b/app/assets/javascripts/app/controllers/ticket_zoom/article_view.coffee index bdab85504..8fa3a7054 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom/article_view.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom/article_view.coffee @@ -55,6 +55,7 @@ class ArticleViewItem extends App.ObserverController 'click .js-unfold': 'unfold' constructor: -> + super @seeMore = false # set expand of text area only once @@ -68,8 +69,6 @@ class ArticleViewItem extends App.ObserverController @setSeeMore() ) - super - setHighlighter: => return if @el.is(':hidden') # use delay do no ui blocking