fix clickCatcher

This commit is contained in:
Felix Niklas 2014-09-29 20:35:05 +02:00
parent 3585ec53bd
commit a78fb9def7

View file

@ -14,6 +14,7 @@ class App.clickCatcher extends Spine.Controller
render: -> render: ->
@el.addClass("zIndex-#{ @zIndexScale }") if @zIndexScale @el.addClass("zIndex-#{ @zIndexScale }") if @zIndexScale
@el.on('click', @triggerCallback) @el.on('click', @triggerCallback)
@el.height(@holder.prop('scrollHeight'))
@el.appendTo(@holder) @el.appendTo(@holder)
remove: -> remove: ->