Fixed overflow of event binding (because super was to late).

This commit is contained in:
Martin Edenhofer 2016-10-15 21:29:45 +02:00
parent d092db4cd8
commit a1dd76ffd6

View file

@ -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