     currentTree
 
 
-  enter: (e) =>
+  onEnter: (e) =>
     e.stopPropagation()
     $link = $(e.currentTarget)
     @currentMenu = $link.attr('data-menu-target')


  constructor: ->
    @debouncedRefresh = _.debounce @refresh, 150
    $(document).on 'mouseenter', '.js-menu', @enter
    $(document).on 'mouseleave', '.js-menu', @leave


  parentMenuId: ($child) ->

    @debouncedRefresh()


  onLeave: (e) =>
    @currentMenu = null
    @debouncedRefresh()

