             else
               @insertFilteredChoiceElements ''
 
-    # @element.on 'blur'
+    # $('body').on 'click'
     # revert or set to null after losing focus
     revert: =>
       if @queryResultArea.is(':visible')

        @selectChoiceByValue value
        @_val = @element.val()
        @hideResults()

    # show the results area
    showResults: ->

        value = $(@).data 'value'
        self.selectChoiceByValue value
        self.hideResults()
        self._val = self.element.val()
        self.element.focus()

      @queryResultArea.on 'mouseenter', "li.#{pluginName}_choice", ->
        self.queryResultArea.find("li.#{pluginName}_choice.active").removeClass 'active'
        $(@).addClass 'active'

      @element.on 'keyup change search', @doQuery
