aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/bootstrap-typeahead.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-typeahead.js b/js/bootstrap-typeahead.js
index fad28ea46..1205a99ca 100644
--- a/js/bootstrap-typeahead.js
+++ b/js/bootstrap-typeahead.js
@@ -79,7 +79,7 @@
q = this.query.toLowerCase()
- items = this.data.filter(function (item) {
+ items = jQuery.grep(this.data, function (item) {
if (that.matcher(item, q)) return item
})