thomaspark/glyphsearch — pull request #6 by redox (2013-11-16 14:00:40+00:00)
Title: First click wasn't taken into account.

Since onChange is triggered when the field lose the focus, another query was performed replacing the current results with new ones; avoiding the icon element to receive the click event.

-> Store the query in the DOM avoiding results to be replaced if the query didn't changed (Fix#3)