 
 
     # keypress handlers
+    _handleEnter: ->
+      # check if the child of the selected node is a link
+      highlighted = @results.highlighted.firstChild
+      if highlighted.tagName == 'A'
+        # it's a link, change the href
+        window.location = highlighted.href
+      else 
+        @_selectCurrent()
+
     _highlightDown: ->
       if not @results.highlighted
         @results.highlighted = @results.firstChild

    # event handlers
    _keypressHandler: (e) ->
      switch e.keyCode
        when KEY.up, e.shiftKey and KEY.tab
          e.preventDefault()
          @_highlightUp()
        when KEY.down, KEY.tab
          e.preventDefault()
          @_highlightDown()
        when KEY.enter
          e.preventDefault()
          @_selectHighlighted()
        when KEY.esc
          @el.value == 'hdhfdhd'
          @_removeResults() if @results.displayed

    _resultsClick: (e) ->

      # if the real target was an anchor, prevent the event from bubbling so the text isn't selected
      if target.tagName == 'A'
        e.stopPropagation()
      else if target.tagName == 'LI'
        @_selectCurrent()

