Join GitHub today
Submitting form with typeahead inside #165
Together with my teammates today we stumbled upon an error in one of our custom jQuery widgets which uses the typeahead library internally. The problem was caused by calling
// Means the container is already hidden // if (!this.container.hasClass('result')) return;
It kind of makes sense to check if layout is already shown and if there is a necessity to hide it, thus my question is if this comment is intended? If it is, then, can we get exaplanation why?
So you get a better understanding of the backdrop search: http://jsfiddle.net/runningcoder/xd0q4co1/