aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-26 17:04:35 -0800
committerMark Otto <[email protected]>2012-01-26 17:04:35 -0800
commit5a48b22b83e099faede2dfa108d5c808526e556b (patch)
tree5192462d0e1bef6fc4214183e0dd0cb18a96b1c4
parent7d292f5acc82cfc53a68b1452103c2367c0d8020 (diff)
parent1f04481092f6021c721f48465b57f7a829f186f5 (diff)
downloadbootstrap-5a48b22b83e099faede2dfa108d5c808526e556b.tar.xz
bootstrap-5a48b22b83e099faede2dfa108d5c808526e556b.zip
Merge pull request #1269 from phopkins/ie_typeahead
[2.0-wip] Fix typehead plugin for IE7/8
-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
})