0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01: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
})
@ -249,4 +249,4 @@
})
})
}( window.jQuery )
}( window.jQuery )