Loosened comparison with event target in typeahead click handler.