     @debouncedRefresh()
 
 
-  leave: (e) =>
+  onLeave: (e) =>
     @currentMenu = null
     @debouncedRefresh()
 

    currentTree


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


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


  parentMenuId: ($child) ->
