1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-07-31 19:00:23 +02:00

Switches from Array#filter to jQuery.grep for IE<=8 support

This commit is contained in:
Pete Hopkins
2012-01-26 17:07:06 -05:00
parent 78652a707f
commit 1f04481092

View File

@@ -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
})