             submenu.classList.add 'hidden'
 
         if menu.classList.contains 'js-nav-switch--animated'
-          $(menu).one 'transitionend', @autoFocus
+          $(menu)
+            .off 'transitionend', @autoFocus
+            .one 'transitionend', @autoFocus
         else
           Timeout.set 0, => @autoFocus null, menu
 



  reset: =>
    return if @visible

    @setMode()
    @floatPopup false

    activeClass = 'js-nav-switch--active'

    for menu in @menus
      if @data().visible
        menu.classList.add animateClass
      else
        menu.classList.remove animateClass
