       DomUtils.flashRect(matchedLink.rect)
       @linkActivator(clickEl)
       if @mode is OPEN_WITH_QUEUE
-        @deactivateMode delay, ->
-          LinkHints.delayMode = false
-          LinkHints.activateModeWithQueue()
+        @deactivateMode delay, -> LinkHints.activateModeWithQueue()
       else
-        @deactivateMode(delay, -> LinkHints.delayMode = false)
+        @deactivateMode delay
 
   #
   # Shows the marker, highlighting matchingCharCount characters.


  hideMarker: (linkMarker) -> linkMarker.style.display = "none"

  # If called without arguments, this exits immediately.  Othewise, it exits after 'delay'. After exiting,
  # 'callback' is invoked (if it is provided).
  deactivateMode: (delay, callback) ->
    deactivate = =>
      DomUtils.removeElement @hintMarkerContainingDiv if @hintMarkerContainingDiv
      @hintMarkerContainingDiv = null

    clickEl = matchedLink.clickableItem
    if (DomUtils.isSelectable(clickEl))
      DomUtils.simulateSelect(clickEl)
      @deactivateMode delay
    else
      # TODO figure out which other input elements should not receive focus
      if (clickEl.nodeName.toLowerCase() == "input" and clickEl.type not in ["button", "submit"])
