Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patches typeahead.bundle.js to fix an error in results shown
When the server returns less suggestions than what is configured as limit for the autocompleter, it only shows the first one, not adding the others to the suggestions list. This is a bug detected in Typeahead library, see twitter/typeahead.js#1232. This library seems not to be actively maintained by Twitter anymore (latest commits were in 2015). I've taken the patch from a fork, Corejs Typeahead.js https://github.com/corejavascript/typeahead.js https://github.com/corejavascript/typeahead.js/blob/107a9b0d002e549be746d93a1fbcde05853d745a/src/typeahead/dataset.js#L269-L281
- Loading branch information