Fixed overflow of event binding (because super was to late).
This commit is contained in:
parent
d092db4cd8
commit
a1dd76ffd6
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue