documentcloud / visualsearch

A Rich Search Box for Real Data
http://documentcloud.github.io/visualsearch/
MIT License
1.8k stars 225 forks source link

Capturing a blur event. #140

Open shivamd opened 10 years ago

shivamd commented 10 years ago

What's the best way to detect once a user blur's out of the search box? Using the blur callback is unreliable, as it calls multiple times even when inside the search box.