       return if !hide
 
     Timeout.clear @hideTimeout
+    Timeout.clear @showTimeout
     @hideTimeout = Timeout.set 10, =>
       @showAllMenu false
       $.publish 'nav:popup:hidden'


class @Nav
  constructor: ->
    $(document).on 'mouseenter', '.js-nav-popup', @showPopup
    $(document).on 'mouseleave', '.js-nav-popup', @gracefulHidePopup
    $(document).on 'click', @hidePopup

    $(document).on 'click', '.js-nav-toggle', @toggleMenu

      @popupContainer[0].style.position = ''


  hidePopup: (e) =>
    return if !@available(true)
    return if !@data().visible
